View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001142 | bareos-core | director | public | 2019-11-23 17:21 | 2023-08-04 18:11 |
Reporter | tuxmaster | Assigned To | bruno-at-bareos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
Platform | Linux | OS | CentOS | OS Version | 7 |
Product Version | 18.2.6 | ||||
Summary | 0001142: No error message logged/reported when the mail command don't exists. | ||||
Description | When the command for "Mail Command" or "Operator Command" not exists, then no error will logged or reported. | ||||
Steps To Reproduce | Simple set an invalid mail command. | ||||
Additional Information | Sample configuration: good: Messages { Name = Standard Description = "all to the log, db and mail" Mail Command = "/usr/bin/bsmtp -8 -h localhost -f \"\(Bareos\) \<%r\>\" -s \"Bareos: %t %e of %c %l\" %r" Operator Command = "/usr/bin/bsmtp -8 -h localhost -f \"\(Bareos\) \<%r\>\" -s \"Bareos: help at %j needed\" %r" Mail = root@localhost = all, !skipped, !saved, !audit Operator = root@localhost = mount Console = all, !skipped, !saved, !audit Append = "/var/log/bareos/bareos.log" = all, !skipped, !saved, !audit Catalog = all, !skipped, !saved, !audit } bad: Messages { Name = Standard Description = "all to the log, db and mail" Mail Command = "/usr/sbin/bsmtp -8 -h localhost -f \"\(Bareos\) \<%r\>\" -s \"Bareos: %t %e of %c %l\" %r" Operator Command = "/usr/sbin/bsmtp -8 -h localhost -f \"\(Bareos\) \<%r\>\" -s \"Bareos: help at %j needed\" %r" Mail = root@localhost = all, !skipped, !saved, !audit Operator = root@localhost = mount Console = all, !skipped, !saved, !audit Append = "/var/log/bareos/bareos.log" = all, !skipped, !saved, !audit Catalog = all, !skipped, !saved, !audit } | ||||
Tags | No tags attached. | ||||
Not sure what is expected here. Those are not monitored to allow the usage of /dev/null (so don't report any message). |
|
Hi Bruno, that an error will be logged about the failed command, because failing without log will be unfavorable. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-11-23 17:21 | tuxmaster | New Issue | |
2023-07-31 16:47 | bruno-at-bareos | Assigned To | => bruno-at-bareos |
2023-07-31 16:47 | bruno-at-bareos | Status | new => feedback |
2023-07-31 16:47 | bruno-at-bareos | Note Added: 0005293 | |
2023-08-04 18:11 | tuxmaster | Note Added: 0005313 | |
2023-08-04 18:11 | tuxmaster | Status | feedback => assigned |