[Bug 803834] [NEW] /etc/init.d/nagios3 has two status functions and no check function

Blake Maltby 803834 at bugs.launchpad.net
Thu Jun 30 10:58:12 UTC 2011


Public bug reported:

The initscript exposes status and check commands which attempt to call matching named functions in the script. However there are two definitions of a status function and hence /etc/init.d/nagios3 status actually runs a check on the config files and /etc/init.d/nagios3 check simply throws an error.
I believe the second of the two status functions should be named check

Details of system:
Description:	Ubuntu 11.04
Release:	11.04

nagios3-common:
  Installed: 3.2.3-1ubuntu1.2
  Candidate: 3.2.3-1ubuntu1.2
  Version table:
 *** 3.2.3-1ubuntu1.2 0
        500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu/ natty-security/main i386 Packages
        100 /var/lib/dpkg/status
     3.2.3-1ubuntu1 0
        500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

** Affects: nagios3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios3 in Ubuntu.
https://bugs.launchpad.net/bugs/803834

Title:
  /etc/init.d/nagios3 has two status functions and no check function

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/803834/+subscriptions



More information about the Ubuntu-server-bugs mailing list