View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000952 | bareos-core | file daemon | public | 2018-05-27 18:14 | 2024-03-20 14:31 |
Reporter | tuxmaster | Assigned To | joergs | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Platform | X86_64 | OS | Fedora | OS Version | 28 |
Product Version | 17.2.5 | ||||
Summary | 0000952: The file daemon crash with an empty config file | ||||
Description | When the myself.conf file contains only comments, then the daemon crash on start. | ||||
Steps To Reproduce | 1. create an myself.conf which only contains commends. | ||||
Additional Information | bareos-fd -f -c /etc/bareos/ 27-Mai 17:58 bareos-fd: Fatal Error at filed.c:359 because: No File daemon resource defined in /etc/bareos/bareos-fd.d/*/*.conf Without that I don't know who I am :-( 27-Mai 17:58 bareos-fd: ERROR in filed.c:251 Please correct configuration file: /etc/bareos/bareos-fd.d/*/*.conf BAREOS interrupted by signal 11: Segmentation violation Kaboom! bareos-fd, bareos-fd got signal 11 - Segmentation violation. Attempting traceback. Kaboom! exepath=/root Calling: /root/btraceback /root/bareos-fd 26155 /tmp/ execv: /root/btraceback failed: ERR=No such file or directory The btraceback call returned 255 Dumping: /tmp//bareos-fd.26155.bactrace /tmp/bareos-fd.26155.bactrace: Attempt to dump locks Attempt to dump current JCRs. njcrs=0 | ||||
Tags | No tags attached. | ||||
Yes, I can reproduce that problem. It also crashes, when the myself.conf file does not exists (when no client resource is defined). |
|
As the bareos-fd is not aims to run without appropriate configuration no changes will be done on the code without community contribution (PR) or sponsored development. Message is clear enough to mitigate the issue 20-Mar 13:28 bareos-fd: Fatal Error at filed/filed_utils.cc:147 because: No File daemon resource defined in /etc/bareos/bareos-fd.d/*/*.conf Without that I don't know who I am :-( 20-Mar 13:28 bareos-fd: ERROR in filed/filed.cc:199 Please correct configuration file: /etc/bareos/bareos-fd.d/*/*.conf |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-05-27 18:14 | tuxmaster | New Issue | |
2019-07-02 17:12 | joergs | Assigned To | => joergs |
2019-07-02 17:12 | joergs | Status | new => confirmed |
2019-07-02 17:12 | joergs | Note Added: 0003406 | |
2019-07-02 17:13 | joergs | Priority | normal => low |
2019-07-02 17:14 | joergs | Note Edited: 0003406 | |
2024-03-20 14:31 | bruno-at-bareos | Status | confirmed => closed |
2024-03-20 14:31 | bruno-at-bareos | Resolution | open => won't fix |
2024-03-20 14:31 | bruno-at-bareos | Note Added: 0005852 |