If rpcbind is not running for some reason, and service nfs starts, it gets stuck forever. Starting NFS services: [ OK ] Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno = Connection refused rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp). [FAILED] Starting NFS daemon: This is especially bad because it makes boot be stuck forever. It should just fail instead of getting stuck.
> If rpcbind is not running for some reason, and service nfs starts, > it gets stuck forever. I guess this is in fact is #337451 Could you please check warren?
No, that was only one way to expose this bug. This is a distinctly different bug.
It is getting stuck at nfssvc.c:96 during the write() call. (gdb) bt #0 0x00002aaaaaf90e80 in __write_nocancel () from /lib64/libc.so.6 #1 0x00002aaaaaaacb18 in nfssvc (port=<value optimized out>, nrservs=8, versbits=4294967295, protobits=4294967295, haddr=0x2aaaaaccb560 "0.0.0.0") at nfssvc.c:96 #2 0x00002aaaaaaac53d in main (argc=2, argv=<value optimized out>) at nfsd.c:161 94 if (udpfd >= 0) { 95 snprintf(buf, BUFSIZ,"%d\n", udpfd); 96 if (write(fd, buf, strlen(buf)) != strlen(buf)) {
How long is "forever" :-) In my testing I have to wait about 5 to 7 mins but eventually I get a timeout after a ton of rpcbind: server localhost not responding, timed out RPC: failed to contact local rpcbind server (errno 5). in /var/log/messages. Are you seeing these log entries?
Based on the date this bug was created, it appears to have been reported during the development of Fedora 8. In order to refocus our efforts as a project we are changing the version of this bug to '8'. If this bug still exists in rawhide, please change the version back to rawhide. (If you're unable to change the bug's version, add a comment to the bug and someone will change it for you.) Thanks for your help and we apologize for the interruption. The process we're following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp We will be following the process here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this doesn't happen again.