Bug 121651 - NFS remote quota server being stopped even when disabled
Summary: NFS remote quota server being stopped even when disabled
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: nfs-utils
Version: 1
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Steve Dickson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-24 15:38 UTC by Erik Karu
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-06-16 10:42:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
NFS init script fix for NFS quotas (353 bytes, patch)
2004-04-24 15:39 UTC, Erik Karu
no flags Details | Diff

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!


Note You need to log in before you can comment on or make changes to this bug.