|Summary:||net-analyzer/nagios-plugins check_rpc plugin missing dependency|
|Product:||Gentoo Linux||Reporter:||Andrew Hamilton <andrew>|
|Component:||[OLD] Server||Assignee:||Michael Orlitzky <mjo>|
|Package list:||Runtime testing required:||---|
|Attachments:||add net-nds/rpcbind to DEPEND|
Description Andrew Hamilton 2013-02-13 07:01:05 UTC
Comment 1 Andrew Hamilton 2013-02-13 07:02:13 UTC
Created attachment 338746 [details, diff] add net-nds/rpcbind to DEPEND patch adding net-nds/rpcbind to DEPEND for net-analyzer/nagios-plugins
Comment 2 Michael Orlitzky 2014-11-23 15:18:10 UTC
I can sort of confirm this one, since it definitely checks for rpcinfo in the ./configure script. But for some reason it doesn't find mine, even with rpcbind installed, and even if I specify the path explicitly: $ ./configure --with-rpcinfo-command=/sbin/rpcinfo But: configure:22711: checking for rpcinfo configure:22744: result: no argh. It is there: $ sudo /sbin/rpcinfo rpcinfo: can't contact rpcbind... If I could get that part working, adding another local 'rpc'USE flag should help with the automagic dependency.
Comment 3 Michael Orlitzky 2017-08-03 12:55:56 UTC
There's a long chain of weirdness related to this bug. First, there's a bug in the nagios-plugins build system that prevents --with-rpcinfo-command from working. Second, the fact that rpcinfo isn't found by default is because it's not in /usr/bin, which is because net-nds/rpcbind uses --bindir=/usr/sbin. It does *that* because net-nds/rpcbind installs both of its executables to the "bindir" even though one of them is superuser-only. I sent a patch upstream: (v1) http://marc.info/?l=linux-nfs&m=150125043924429&w=2 (v2) http://marc.info/?l=linux-nfs&m=150161373630019&w=2 If that gets merged, our rpcbind package can go back to installing "rpcinfo" into /usr/bin, and nagios-plugins will pick it up automatically. At that point I should be able to test and fix this!
Comment 4 Larry the Git Cow 2018-01-20 17:29:51 UTC
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d21091ab12da59df78633ca800900d6e622042a2 commit d21091ab12da59df78633ca800900d6e622042a2 Author: Michael Orlitzky <firstname.lastname@example.org> AuthorDate: 2018-01-20 17:21:19 +0000 Commit: Michael Orlitzky <email@example.com> CommitDate: 2018-01-20 17:22:22 +0000 net-nds/rpcbind: use default values for "--bindir" and "--with-rpcuser" Upstream commit 9afccfc moves the rpcbind executable from the bindir to the sbindir, meaning that we don't have to override the bindir in our ebuild if we want rpcbind installed to e.g. /usr/sbin. This commit drops the "--bindir" flag from src_configure, so the default will be used. As a side effect, this will place the rpcinfo executable in the bindir where it belongs, allowing us to fix things like bug 457042. Our ebuild was also passing "--with-rpcuser=root" explicitly, even though that is the default value. This commit removes the redundancy. Bug: https://bugs.gentoo.org/457042 Closes: https://bugs.gentoo.org/628766 Package-Manager: Portage-2.3.19, Repoman-2.3.6 net-nds/rpcbind/rpcbind-9999.ebuild | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)}
Comment 5 Michael Orlitzky 2018-10-18 01:59:18 UTC
rpcbind-1.2.5 is finally in the tree with the fix for this
Comment 6 Michael Orlitzky 2019-11-05 17:45:52 UTC
Aaaaand rpcbind-1.25 is now stable.