Red Hat Bugzilla – Bug 121651
NFS remote quota server being stopped even when disabled
Last modified: 2007-11-30 17:10:41 EST
Description of problem:
I've disabled NFS remote quota server by adding line
to the NFS configuration file /etc/sysconfig/nfs. However, when NFS is
being shutdown, an error is printed as the setting is not checked!
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. echo "RQUOTAD=no" > /etc/sysconfig/nfs
2. /etc/init.d/nfs restart
3. /etc/init.d/nfs restart
Shutting down NFS quotas: [FAILED]
No message printed at all, since NFS quota is disabled.
The attached patch fixes the problem by doing the same check in the
stop) section as what is done in the start) section of
/etc/init.d/nfs. Please apply.
Created attachment 99676 [details]
NFS init script fix for NFS quotas
Obvious patch to fix the problem.
What's up with this? Should be trivial and applies to FC2 also!