Bug 121651

Summary: NFS remote quota server being stopped even when disabled
Product: [Fedora] Fedora Reporter: Erik Karu <erik_karu>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-06-16 10:42:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
NFS init script fix for NFS quotas none

Description Erik Karu 2004-04-24 15:38:10 UTC
Description of problem:
I've disabled NFS remote quota server by adding line

RQUOTAD=no

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):
nfs-utils-1.0.6-1

How reproducible:
Always.

Steps to Reproduce:
1. echo "RQUOTAD=no" > /etc/sysconfig/nfs
2. /etc/init.d/nfs restart
3. /etc/init.d/nfs restart
  
Actual results:
Shutting down NFS quotas:                                  [FAILED]


Expected results:
No message printed at all, since NFS quota is disabled.

Additional info:
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.

Comment 1 Erik Karu 2004-04-24 15:39:55 UTC
Created attachment 99676 [details]
NFS init script fix for NFS quotas

Obvious patch to fix the problem.

Comment 2 Erik Karu 2004-06-07 19:57:50 UTC
What's up with this? Should be trivial and applies to FC2 also!