Mailinglist Archive: opensuse-commit (1649 mails)
| < Previous | Next > |
commit nfs-utils
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Mon, 13 Oct 2008 23:37:55 +0200
- Message-id: <20081013213755.DBA95678164@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package nfs-utils
checked in at Mon Oct 13 23:37:55 CEST 2008.
--------
--- nfs-utils/nfs-utils.changes 2008-10-13 10:35:45.000000000 +0200
+++ /d/STABLE/nfs-utils/nfs-utils.changes 2008-10-13 19:23:11.000000000
+0200
@@ -1,0 +2,8 @@
+Mon Oct 13 17:58:34 CEST 2008 - mkoenig@xxxxxxx
+
+- nfs.init:
+ * ensure all daemons get killed on stop (including rpc.statd)
+ * unmount rpc_pipefs
+ * let close_usr do the work before the NFS filesystems get unmounted
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nfs-utils.spec ++++++
--- /var/tmp/diff_new_pack.XD3260/_old 2008-10-13 23:36:07.000000000 +0200
+++ /var/tmp/diff_new_pack.XD3260/_new 2008-10-13 23:36:07.000000000 +0200
@@ -27,7 +27,7 @@
Url: http://nfs.sourceforge.net
Summary: Support Utilities for Kernel nfsd
Version: 1.1.3
-Release: 7
+Release: 8
Group: Productivity/Networking/NFS
License: GPL v2 or later
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -281,6 +281,11 @@
%doc nfs/*.html nfs/*.ps linux-nfs/* README.NFSv4
%changelog
+* Mon Oct 13 2008 mkoenig@xxxxxxx
+- nfs.init:
+ * ensure all daemons get killed on stop (including rpc.statd)
+ * unmount rpc_pipefs
+ * let close_usr do the work before the NFS filesystems get unmounted
* Mon Oct 13 2008 ro@xxxxxxx
- fix sysconfig filename for changed fillup call
* Mon Oct 06 2008 kukuk@xxxxxxx
++++++ nfs.init ++++++
--- nfs-utils/nfs.init 2008-09-26 04:01:15.000000000 +0200
+++ /d/STABLE/nfs-utils/nfs.init 2008-10-13 19:13:24.000000000 +0200
@@ -26,6 +26,7 @@
IDMAPD_BIN=/usr/sbin/rpc.idmapd
GSSD_BIN=/usr/sbin/rpc.gssd
+STATD_BIN=/usr/sbin/rpc.statd
IDMAPD_CLIENT_STATE=/var/lock/subsys/nfs-rpc.idmapd
IDMAPD_SERVER_STATE=/var/lock/subsys/nfsserver-rpc.idmapd
@@ -114,6 +115,14 @@
mount -t rpc_pipefs rpc_pipefs /var/lib/nfs/rpc_pipefs
}
+umount_rpc_pipefs() {
+ # See if the file system is there
+ case `stat -c "%t" -f /var/lib/nfs/rpc_pipefs` in
+ *67596969*)
+ umount /var/lib/nfs/rpc_pipefs
+ esac
+}
+
mount_usr() {
test -n "$usr" -o -n "$opt" || return
local where
@@ -234,6 +243,13 @@
;;
stop-yes)
echo -n "Shutting down NFS client services:"
+
+ # in case we have /usr and/or /opt via nfs terminate all
+ # processes on them (nfsservers shouldn't do /usr via nfs)
+ case "$RUNLEVEL" in
+ [016sS]) close_usr ;;
+ esac
+
#
# Unmount background because during long timeouts
#
@@ -244,10 +260,7 @@
# stop gssd
if test "$NEED_GSSD" = yes ; then
echo -n " gssd"
- killproc $GSSD_BIN || {
- rc_status -v
- rc_exit
- }
+ killproc $GSSD_BIN
fi
# stop idmapd
@@ -255,19 +268,18 @@
# only stop idmapd if it is not needed by server
if test ! -f $IDMAPD_SERVER_STATE ; then
echo -n " idmapd"
- killproc $IDMAPD_BIN || {
- rc_status -v
- rc_exit
- }
+ killproc $IDMAPD_BIN
fi
rm -f $IDMAPD_CLIENT_STATE
fi
- # in case we have /usr and/or /opt via nfs terminate all
- # processes on them (nfsservers shouldn't do /usr via nfs)
- case "$RUNLEVEL" in
- [016sS]) close_usr ;;
- esac
+ # stop rpc.statd
+ if checkproc $STATD_BIN ; then
+ echo -n " rpc.statd"
+ killproc $STATD_BIN
+ fi
+
+ umount_rpc_pipefs
#
rc_status -v
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |