View Issue Details

IDProjectCategoryView StatusLast Update
0001142bareos-core[All Projects] directorpublic2019-11-23 17:21
ReportertuxmasterAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSCentOSOS Version7
Product Version18.2.6 
Fixed in Version 
Summary0001142: No error message logged/reported when the mail command don't exists.
DescriptionWhen the command for "Mail Command" or "Operator Command" not exists, then no error will logged or reported.
Steps To ReproduceSimple set an invalid mail command.
Additional InformationSample 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
}
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-11-23 17:21 tuxmaster New Issue