Bug 14502 - nfs startup script does things in the wrong order
nfs startup script does things in the wrong order
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: nfs-utils (Show other bugs)
6.2
i386 Linux
high Severity medium
: ---
: ---
Assigned To: Cristian Gafton
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-07-23 20:19 EDT by Seth Vidal
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-07-23 20:19:22 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Seth Vidal 2000-07-23 20:19:21 EDT
the nfs-utils's package nfs startup script /etc/rc.d/init.d/nfs stops nfs
in the wrong way

according to this email from neil brown <neilb@cse.unsw.edu.au>
http://www.geocrawler.com/lists/3/SourceForge/789/0/4076633/
exporfts -au must be run AFTER nfsd is stopped or stale mount problems will
occur


But /etc/rc.d/init.d/nfs does this:
stop)
        # Stop daemons.
        action "Shutting down NFS services: " /usr/sbin/exportfs -au
	echo -n "Shutting down NFS mountd: "
        killproc rpc.mountd
        echo
        echo -n "Shutting down NFS daemon: "
  	killproc nfsd   
	echo
        echo -n "Shutting down NFS quotas: "
	killproc rpc.rquotad
        echo
        rm -f /var/lock/subsys/nfs
	;;

so it is doing them in the wrong order.
an easy fix but w/o it could screw up people who have nfs servers that need
to be rebooted when their clients still have active links.
Comment 1 Bill Nottingham 2000-07-24 16:30:13 EDT
Fixed in nfs-utils-0.1.9.1-5.

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