rpcbind hang after FC6->F7 upgrade

Edwin Huffstutler edwinh at cox.net
Tue Jun 26 04:55:52 UTC 2007

[ I wrote: ]
> After upgrading 2 boxes (one i386, on x86_64) from FC6 to F7, on bootup
> rpcbind hangs.  Forever, never times out.  No messages syslog or anything
> past that point either.
> Fresh install seems to be fine.
> I checked over various things including /etc/sysconfig/network(-scripts/*)
> between fresh install and upgrade, nothing sticks out.  Even diffed most of
> /etc to try to find anything suspicious...
> These machines are set up for nis/automount/nfs and were working fine
> previously.  The network comes up fine, as they are set to remote syslog
> and syslog starts before rpcbind.
> I checked all the initscript orders to make sure any changes in ordering
> from F7 are taken care of.
> Bypassing rpcbind (and anything needing portmap) during bootup and
> everything else comes up.  Network works.
> An strace of rpcbind shows nothing useful, it just stops.  I can cut/paste
> if someone wants.
> Didn't see anything in bugzilla.  Found one mention of this on the list
> last month but no one replied to the guy...
> Any ideas?

I finally figured out the problem myself after having a hung upgrade on
several machines.

When the switch from portmap->rpcbind happened, upgrades were not tested that
much I guess.  Anyway /etc/services needs an rpcbind alias.

Once that is in there everything works fine.  Probably need a %post scriplet
somewhere?  I did have a modified /etc/services, but didn't see a .rpmnew or
.rpmsave after the upgrade to clue me in to look for diffs.

Anyway, from a diff of fresh install vs. upgrade below.

Updated the bugzilla I had submitted.

--- /etc/services  2007-06-13 21:47:01.000000000 -0700
+++ /hosts/hercules/etc/services   2006-05-24 13:12:48.000000000 -0700
@@ -1,5 +1,5 @@
 # /etc/services:
-# $Id: services,v 1.43 2007/04/18 08:40:12 pknirsch Exp $
+# $Id: services,v 1.42 2006/02/23 13:09:23 pknirsch Exp $
 # Network services, Internet style
@@ -108,8 +108,8 @@
 pop2           109/udp         pop-2
 pop3           110/tcp         pop-3           # POP version 3
 pop3           110/udp         pop-3
-sunrpc         111/tcp         portmapper rpcbind      # RPC 4.0 portmapper TCP
-sunrpc         111/udp         portmapper rpcbind      # RPC 4.0 portmapper UDP
+sunrpc         111/tcp         portmapper      # RPC 4.0 portmapper TCP
+sunrpc         111/udp         portmapper      # RPC 4.0 portmapper UDP
 auth           113/tcp         authentication tap ident
 auth           113/udp         authentication tap ident
 sftp           115/tcp

 Edwin Huffstutler 
 edwinh at computer.org

More information about the fedora-list mailing list