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

Bug #1189647 reported by Jamie Strandboge on 2013-06-10
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nagios-plugins (Ubuntu)
Undecided
Unassigned
Precise
Undecided
Jamie Strandboge
Saucy
Undecided
Unassigned

Bug Description

[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]
$ sudo apt-get install nagios-plugins-standard 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 adjusting the path to a binary. The path is currently wrong so functionality cannot regress on this point.

[Other Info]
 * this is already fixed in Ubuntu 13.10
 * Note: the nagios server needs to be restarted (a reload is not enough) for this change to take effect with a configured nagios server

description: updated
Changed in nagios-plugins (Ubuntu Saucy):
status: New → Fix Released
Jamie Strandboge (jdstrand) wrote :

Uploaded to precise-proposed, just need ubuntu-sru to approve.

Changed in nagios-plugins (Ubuntu Precise):
status: New → In Progress
assignee: nobody → Jamie Strandboge (jdstrand)
description: updated
description: updated
description: updated

Hello Jamie, or anyone else affected,

Accepted nagios-plugins into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/nagios-plugins/1.4.15-5ubuntu3.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in nagios-plugins (Ubuntu Precise):
status: In Progress → Fix Committed
tags: added: verification-needed
Jamie Strandboge (jdstrand) wrote :

The package in precise-proposed fixes the issue for me.

tags: added: verification-done
removed: verification-needed
Jamie Strandboge (jdstrand) wrote :

To be more specific, the test case passes I am able to use check-nfs within my nagios configuration.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nagios-plugins - 1.4.15-5ubuntu3.2

---------------
nagios-plugins (1.4.15-5ubuntu3.2) precise-proposed; urgency=low

  * debian/rules: use --with-rpcinfo-command="/usr/sbin/rpcinfo" so check-rpc
    and check-nfs work properly (LP: #1189647)
 -- Jamie Strandboge <email address hidden> Mon, 10 Jun 2013 16:54:00 -0500

Changed in nagios-plugins (Ubuntu Precise):
status: Fix Committed → Fix Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers