[Bug 231004] SRU Report
Thierry Carrez
thierry.carrez at canonical.com
Mon Jun 23 11:12:30 BST 2008
Bug Impact: nagios2 is configured by default with notification commands
that make use of /bin/mail rather than /usr/bin/mail. That forces all
Nagios users to fix this default configuration file if they want to make
use of mail-based notifications (which is a very common use case). This
is more a "user experience of Ubuntu integration" bug, and it can easily
be workaround-ed with a one-time config file fix.
Affected supported releases: feisty, gutsy, hardy. Given the type of bug
(only first-time installs affected) I would propose SRU-ing it for hardy
only.
Development branch fix: nagios3 is shipped with Intrepid. This series
has a configure file fix that allows to generate correct default
configuration files in the build process.
Minimal patch: see previous comment.
TEST CASE:
$ sudo apt-get install nagios2
$ grep mail /etc/nagios2/commands.cfg
[ shows that commands.cfg calls /bin/mail for notification commands, should be /usr/bin/mail ]
I can also provide a more complex test case (involving Nagios
configuration) where those notifications would be used and trigger an
error message.
Regression potential discussion:
This update only impacts the commands.cfg file, to replace occurences of /bin/mail with /usr/bin/mail. I don't think it could break anything.
** Changed in: nagios2 (Ubuntu)
Importance: Medium => Low
Status: In Progress => Confirmed
--
Path to 'mail' incorrect in /etc/nagios2/commands.cfg
https://bugs.launchpad.net/bugs/231004
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios2 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list