I looked into it and this problem is the result of several problems in the package building.
debian/rules calls configure with --use-mail=/usr/bin/mail so Nagios should generate default config files with the good pointer. However there is no mailx | mailutils in the build dependencies so, when configure doublechecks it, it goes back to the default (/bin/mail). Therefore the default configs are generated with /bin/mail rather than /usr/bin/mail. It would be sufficient to add mailx | mailutils in the build dependencies if there weren't a new round of patching done afterwards with cfg-commands.cfg.diff. This diff-file needs to be changed too to keep track of the changes. I'll do a debdiff and check if the problem is still there in nagios3. -- 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. -- Ubuntu-server-bugs mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
