Red Hat Bugzilla – Bug 136041
nfs init script does not check RQUOTAD correctly for stop and status
Last modified: 2007-11-30 17:10:52 EST
Description of problem:
If quota is installed (so rpc.rquotad exists), the nfs init script
tries to stop rquotad even if RQUOTAD == no. The result is a nasty
FAILED output during an nfs stop.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. /etc/init.d/nfs stop
2. set RQUOTAD=no in /etc/sysconfig/nfs
3. /etc/init.d/nfs start
4. /etc/init.d/nfs stop
Shutting down NFS quotas: [FAILED]
The init script should not try to stop rquotad.
Bug 127911 was fixed in FC2, but it appears to have returned in FC3.
I will attach a patch.
Created attachment 105339 [details]
patch against /etc/init.d/nfs
Fixed in nfs-utils-1-0-6-39.