summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjl <hjl>2000-07-03 16:54:31 +0000
committerhjl <hjl>2000-07-03 16:54:31 +0000
commit313c1662bb9dfd8094de0cc4666b03f1b9e89d22 (patch)
treee030e1751e04197190799c429e7b668327480c6d
parent4550da4b992fb3627fef36760ff1b52739d335e0 (diff)
downloadnfs-utils-313c1662bb9dfd8094de0cc4666b03f1b9e89d22.tar.gz
nfs-utils-313c1662bb9dfd8094de0cc4666b03f1b9e89d22.tar.xz
nfs-utils-313c1662bb9dfd8094de0cc4666b03f1b9e89d22.zip
2000-07-03 H.J. Lu <hjl@lucon.org>
* etc/redhat/nfs.init: Run /usr/sbin/exportfs last during stop to ensure all clients can still access the server before it is shutdown.
-rw-r--r--ChangeLog8
-rwxr-xr-xetc/redhat/nfs.init6
2 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b9e5069..c28477c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-07-03 H.J. Lu <hjl@lucon.org>
+
+ * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
+ stop to ensure all clients can still access the server
+ before it is shutdown.
+
2000-06-28 Chip Salzenberg <chip@valinux.com>
* utils/statd/log.c (log): Call syslog with format string.
@@ -14,7 +20,7 @@
2000-06-27 H.J. Lu <hjl@lucon.org>
* etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
- startup to ensure all exiting clients are exported.
+ startup to ensure all existing clients are exported.
* configure.in (VERSION): Set to "0.1.8.2".
* configure: Regenerated.
diff --git a/etc/redhat/nfs.init b/etc/redhat/nfs.init
index a00bd30..a667619 100755
--- a/etc/redhat/nfs.init
+++ b/etc/redhat/nfs.init
@@ -45,12 +45,13 @@ case "$1" in
echo -n "Starting NFS daemon: "
daemon rpc.nfsd $RPCNFSDCOUNT
echo
+ # Do it the last so that all clients mounting points are
+ # exported. FIXME: Why?
action "Starting NFS services: " /usr/sbin/exportfs -r
touch /var/lock/subsys/nfs
;;
stop)
# Stop daemons.
- action "Shutting down NFS services: " /usr/sbin/exportfs -au
echo -n "Shutting down NFS mountd: "
killproc rpc.mountd
echo
@@ -60,6 +61,9 @@ case "$1" in
echo -n "Shutting down NFS quotas: "
killproc rpc.rquotad
echo
+ # Do it the last so that clients can still access the server
+ # when the server is running.
+ action "Shutting down NFS services: " /usr/sbin/exportfs -au
rm -f /var/lock/subsys/nfs
;;
status)