Due to an installation mistake (somehow rpm messed up) I ended up with an passwd file which didn't have a rpc entry.  This meant that during startup the getpwnam() call to determine the details for user rpc caused the normal process for passwd lookups to be followed.  For me this meant after looking at /etc/passwd the lookup tried to use NIS.  This of course deadlocked since as part of the NIS lookup rpcbind has to be contacted.
Due to an installation mistake (somehow rpm messed up) I ended up with an passwd
file which didn't have a rpc entry.  This meant that during startup the
getpwnam() call to determine the details for user rpc caused the normal process
for passwd lookups to be followed.  For me this meant after looking at
/etc/passwd the lookup tried to use NIS.  This of course deadlocked since as
part of the NIS lookup rpcbind has to be contacted.

The workaround is quite simple: use __nss_configure_lookup() to restrict
the lookup.

Signed-off-by: Ulrich Drepper <ffcb23910bebd32aac570c6edd538eb421f88dbe@redhat.com>
Signed-off-by: Steve Dickson <305cc9d5027c0f4e08c2697d4cabde07a8221669@redhat.com>

okirch/rpcbind,teg/rpcbind,teg/rpcbind,okirch/rpcbind