Bug 127911 - nfs init script does not check RQUOTAD correctly for stop and status
Summary: nfs init script does not check RQUOTAD correctly for stop and status
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: nfs-utils
Version: 2
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Steve Dickson
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-07-15 08:37 UTC by Allen Kistler
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-08-07 01:07:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch against /etc/init.d/nfs (625 bytes, patch)
2004-07-15 08:41 UTC, Allen Kistler
no flags Details | Diff

Description Allen Kistler 2004-07-15 08:37:16 UTC
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):
nfs-utils-1.0.6-22

How reproducible:
Always

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

Actual Results:
Shutting down NFS quotas:                                  [FAILED]

Expected Results:
The init script should not try to stop rquotad.

Additional info:

I'm not sure if this is a touchy subject or not.  Bug 91789 was filed
on RH9, and bug 121651 was filed on FC1 (both by others).  Both have
been set to CURRENTVERSION, but the fixes have not been fully applied.

I will attach a unified diff against the current FC2 script.

Comment 1 Allen Kistler 2004-07-15 08:41:14 UTC
Created attachment 101935 [details]
patch against /etc/init.d/nfs

Comment 2 Allen Kistler 2004-08-07 01:07:35 UTC
The latest build in Rawhide (nfs-utils-1.0.6-30) appears not to have
the bug.  Closing.


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