-   Slackware (
-   -   rpcinfo missing from Slackware 14.0 (

sparkyhall 10-02-2012 01:11 PM

rpcinfo missing from Slackware 14.0
One of my scripts uses "rpcinfo" to check that my servers NFS is available. In Slackware 14.0 32bit this no longer works as "rpcinfo" does not exist, I can work around this. I'm just curious to know if "rpcinfo" has been removed deliberately or by accident?

zakame 10-03-2012 08:04 AM

It was in the previous glibc version. Grepping the ChangeLog.txt shows a lot of glibc revisions since then, but I'm not sure when /usr/sbin/rpcinfo disappeared. There's a mention on Feb 1 2012 about re-enabling NIS and RPC compile support though:


Wed Feb  1 17:18:07 CST 2012
l/glibc-2.14.1-i486-3.txz:  Rebuilt.
  Patched to provide compile support for NIS and RPC again.

allend 10-03-2012 10:27 AM

Just want to point out that in glibc-2.15, the rpcinfo command is no longer built.
From glibc-2.15/sunrpc/Makefile

# We do not build rpcinfo anymore. It is not needed for a bootstrap
# and not wanted on complete systems.
# others := rpcinfo
# install-sbin := rpcinfo
The 'pmap_dump' command provides the equivalent information.

sparkyhall 10-11-2012 03:06 PM

Thanks for the replies, I'll use "pmap_dump" instead and mark this thread as solved.

jtsn 10-11-2012 11:21 PM


Originally Posted by allend (Post 4796116)
The 'pmap_dump' command provides the equivalent information.

pmap_dump is missing all the options and can't connect to other hosts.

wildwizard 10-12-2012 05:41 AM

I think this problems stems from glibc no longer having a maintained RPC code base.

The RPC library routines are now maintained in the TI-RPC library.
"portmap" is replaced by "rpcbind" which also has "rpcinfo" included

All times are GMT -5. The time now is 08:58 AM.