Public bug reported:

[Impact]
 * the check-rpc and check-nfs commands are broken in nagios-plugins on 12.04 
because the path to rpcinfo is not correct. Once the package is installed, you 
must adjust /usr/lib/nagios/plugins/utils.pm to use the correct path, but this 
is overwritten on upgrades

[Test Case]
$ apt-get install nagios-plugins-basic rpcbind

With old version:
$ /usr/lib/nagios/plugins/check_rpc -H '127.0.0.1' -C portmap
Can't fork for rpcinfo: No such file or directory

With new version and corrected path:
$ /usr/lib/nagios/plugins/check_rpc -H '127.0.0.1' -C portmap
OK: RPC program portmap version 2 version 3 version 4 udp running

[Regression Potential] 
 * The regression potential is very low-- there are no code changes and the 
only change is adjusted the path to a binary. The path is currently wrong so 
functionality cannot regress on this point.

** Affects: nagios-plugins (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  should use --with-rpcinfo-command="/usr/sbin/rpcinfo" on 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1189647/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to