Although I already have the fix to this question, I'm doing a bit of
detective work to find out why rpcbind breaks nfs when quotas are involved.
Preliminary notes:
1. as of this posting my system if fully updated (and rebooted)
2. I have not made any changes to /etc/sysconfig/nfs
3. I'm running kernel 2.6.29.6-213.fc11.i686.PAE
4. This is not a Virtual Machine.
I had this in /etc/fstab. A VG with quotas enabled.
"/dev/myVG/lv1 /mnt/p2 ext3 defaults,usrquota,grpquota 1 2"
I removed the VG entirely, but did not disabled quotas in it before
removal. I don't know why this would be the source of the problem.
The rpcbind service is OK.
# service rpcbind status
rpcbind (pid 2977) is running...
# rpcinfo -p
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
When I try to start the NFS services I get a quotas related error message.
# /etc/init.d/nfs start
Starting NFS services: [ OK ]
Starting NFS quotas: Cannot register service: RPC: Authentication
error; why = Client credential too weak
rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp). [FAILED]
Starting NFS daemon: [FAILED]
I attempt to turn quotas off in the system (none found).
# quotaoff - -all - -off - -verbose
Interestingly, when I "restart" as opposed to "start" the NFS
services, there's
an "OK" message in there, but NFS does not start.
# /etc/init.d/nfs restart
Shutting down NFS mountd: [FAILED]
Shutting down NFS daemon: [FAILED]
Shutting down NFS quotas: [FAILED]
Shutting down NFS services: [FAILED]
Starting NFS services: [ OK ]
Starting NFS quotas: Cannot register service: RPC: Authentication
error; why = Client credential too weak
rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp).[FAILED]
Starting NFS daemon: [FAILED]
The fix is to add this line to /etc/hosts.allow:
"rpcbind : 127.0.0.1 EXCEPT PARANOID"
I got that from a somewhat related filed bug:
https://bugzilla.redhat.com/show_bug.cgi?id=358621
The issue was fixed a while ago in F9:
https://bugzilla.redhat.com/show_bug.cgi?id=249199
See also:
https://bugzilla.redhat.com/show_bug.cgi?id=173495
So, why am I seeing this in F11?
How do I tell NFS that there are not quotas in any filesystem?
I don't want to reinstall F11 all over just to find out this answer.
If you have input, please share.
thanks,
~af