Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-02-2012, 01:11 PM   #1
Registered: Nov 2009
Location: Chatteris---UK
Distribution: Slackware 13.0 & 14.0
Posts: 42

Rep: Reputation: 8
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?
Old 10-03-2012, 08:04 AM   #2
Registered: Apr 2012
Distribution: Debian, Ubuntu, Slackware
Posts: 199

Rep: Reputation: 109Reputation: 109
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.

Last edited by zakame; 10-03-2012 at 08:06 AM. Reason: /usr/sbin, not /usr/bin
Old 10-03-2012, 10:27 AM   #3
Senior Member
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,554

Rep: Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435
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.
1 members found this post helpful.
Old 10-11-2012, 03:06 PM   #4
Registered: Nov 2009
Location: Chatteris---UK
Distribution: Slackware 13.0 & 14.0
Posts: 42

Original Poster
Rep: Reputation: 8
Thanks for the replies, I'll use "pmap_dump" instead and mark this thread as solved.
Old 10-11-2012, 11:21 PM   #5
Registered: Sep 2011
Posts: 922

Rep: Reputation: 474Reputation: 474Reputation: 474Reputation: 474Reputation: 474
Originally Posted by allend View Post
The 'pmap_dump' command provides the equivalent information.
pmap_dump is missing all the options and can't connect to other hosts.
Old 10-12-2012, 05:41 AM   #6
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 866

Rep: Reputation: 264Reputation: 264Reputation: 264
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
rpcinfo and portmapper dimah Linux - Security 2 08-10-2007 04:14 AM
NIS on centos - Can't get correct rpcinfo reply hq4ever Linux - Networking 1 05-25-2006 03:34 AM
rpcinfo script Ljohan Programming 1 04-24-2004 06:39 PM
rpcinfo tmorton Linux - Networking 0 09-17-2003 02:13 PM
showmount fails but rpcinfo works? rindress Linux - Networking 0 06-20-2003 01:58 PM

All times are GMT -5. The time now is 04:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration