[Pkg-sysvinit-commits] r976 - in sysvinit/trunk/debian: . initscripts/etc/init.d

Petter Reinholdtsen pere at costa.debian.org
Thu Sep 28 17:17:42 UTC 2006


Author: pere
Date: 2006-09-28 17:17:41 +0000 (Thu, 28 Sep 2006)
New Revision: 976

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/initscripts/etc/init.d/umountnfs.sh
Log:
  * Change umountnfs to use /etc/mtab instead of /proc/mounts, to make
    sure it see the _netdev option.  umountfs still uses /proc/mounts
    to make every non-root file system is unmounted before halt or
    reboot. (Closes: #383124)

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2006-09-26 13:09:58 UTC (rev 975)
+++ sysvinit/trunk/debian/changelog	2006-09-28 17:17:41 UTC (rev 976)
@@ -1,3 +1,12 @@
+sysvinit (2.86.ds1-26~1) unstable; urgency=low
+
+  * Change umountnfs to use /etc/mtab instead of /proc/mounts, to make
+    sure it see the _netdev option.  umountfs still uses /proc/mounts
+    to make every non-root file system is unmounted before halt or
+    reboot. (Closes: #383124)
+
+ -- Petter Reinholdtsen <pere at debian.org>  Thu, 28 Sep 2006 19:14:41 +0200
+
 sysvinit (2.86.ds1-25) experimental; urgency=low
 
   * Improve manual entry for RAMRUN and RAMLOCK run rcS(5).

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/umountnfs.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/umountnfs.sh	2006-09-26 13:09:58 UTC (rev 975)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/umountnfs.sh	2006-09-28 17:17:41 UTC (rev 976)
@@ -42,7 +42,7 @@
 	# Make list of points to unmount in reverse order of their creation
 	#
 
-	exec 9<&0 </proc/mounts
+	exec 9<&0 </etc/mtab
 
 	DIRS=""
 	while read DEV MTPT FSTYPE OPTS REST




More information about the Pkg-sysvinit-commits mailing list