View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001442 | bareos-core | file daemon | public | 2022-03-23 08:10 | 2022-03-24 09:57 |
Reporter | tuxmaster | Assigned To | bruno-at-bareos | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Platform | x86_64 | OS | CentOS | OS Version | 8 stream |
Product Version | 21.1.2 | ||||
Summary | 0001442: The file daemon will crash on start, when no director is configured. | ||||
Description | Mar 23 08:05:08 demo.demo.demo bareos-fd[85688]: No Director resource defined in /etc/bareos/bareos-fd.d/*/*.conf Mar 23 08:05:08 demo.demo.demo bareos-fd[85688]: 23-Mar 08:05 bareos-fd: ERROR in filed/filed.cc:263 Please correct configuration file: /etc/bareos/bareos-.../*/*.conf Mar 23 08:05:08 demo.demo.demo bareos-fd[85688]: BAREOS interrupted by signal 11: Segmentation violation Mar 23 08:05:08 demo.demo.demo bareos-fd[85688]: BAREOS interrupted by signal 11: Segmentation violation | ||||
Steps To Reproduce | 1. Remove the default config 2. start the daemon | ||||
Additional Information | It will be better, when the daemon only exit with error code 1 and not simply crash. | ||||
Tags | No tags attached. | ||||
Sorry can't be reproducible. My tests results are exactly what you are requesting (return 1) Full working configuration bareos-fd -t -c /tmp/bareos echo $? 0 Remove all files find /tmp/bareos -type f -delete bareos-fd -t -c /tmp/bareos bareos-fd: ERROR TERMINATION at lib/parse_conf.cc:239 Config error: Cannot open config file "/tmp/bareos/bareos-fd.d/*/*.conf": No such file or directory echo $? 1 Valid configuration without the director config file bareos-fd -t -c /tmp/bareos 24-mar 09:53 qt-kt-fd: Fatal Error at filed/filed.cc:529 because: No Director resource defined in /tmp/bareos/bareos-fd.d/*/*.conf 24-mar 09:53 qt-kt-fd: ERROR in filed/filed.cc:263 Please correct configuration file: /tmp/bareos/bareos-fd.d/*/*.conf echo $? 1 You didn't give the details needed to be able to reproduce your error, will close an not reproducible. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-03-23 08:10 | tuxmaster | New Issue | |
2022-03-24 09:56 | bruno-at-bareos | Note Added: 0004552 | |
2022-03-24 09:56 | bruno-at-bareos | Assigned To | => bruno-at-bareos |
2022-03-24 09:56 | bruno-at-bareos | Status | new => assigned |
2022-03-24 09:57 | bruno-at-bareos | Status | assigned => closed |
2022-03-24 09:57 | bruno-at-bareos | Resolution | open => unable to reproduce |