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

Thomas Hood jdthood-guest at costa.debian.org
Thu Jan 12 20:07:12 UTC 2006


Author: jdthood-guest
Date: 2006-01-12 20:07:11 +0000 (Thu, 12 Jan 2006)
New Revision: 636

Modified:
   sysvinit/trunk/debian/NOTES
   sysvinit/trunk/debian/initscripts/etc/init.d/mtab.sh
Log:
Add NOTE and comment about the current need to mount the dev sub filesystems in the mtab initscript

Modified: sysvinit/trunk/debian/NOTES
===================================================================
--- sysvinit/trunk/debian/NOTES	2006-01-12 19:26:05 UTC (rev 635)
+++ sysvinit/trunk/debian/NOTES	2006-01-12 20:07:11 UTC (rev 636)
@@ -75,6 +75,12 @@
 initscripts Conflicts with and Replaces mdutils which was last seen in
 potato.
 
+If the mtab initscript is ever changed so that it updates the mtab file
+without rerunning mountdevsubfs.sh then initscripts should be made to
+Conflict with udev << 0.080-1.  (The latter versions of udev put the
+udev initscript at S04, _after_ S04mountdevsubfs.sh, and the script
+unmounts /dev/pts and /dev/shm.)
+
 sysv-rc (current) Conflicts with and Replaces file-rc.  file-rc (0.8.7)
 Replaces: sysv-rc but does not Conflict with it.  I am not sure that
 sysv-rc needs to Replace: file-rc.  Isn't Conflicting sufficient?

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/mtab.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/mtab.sh	2006-01-12 19:26:05 UTC (rev 635)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/mtab.sh	2006-01-12 20:07:11 UTC (rev 636)
@@ -10,6 +10,17 @@
 #                    all local filesystems have been mounted.
 ### END INIT INFO
 
+#
+# The main purpose of this script is to update the mtab file to reflect
+# the fact that virtual filesystems were mounted early on, before mtab
+# was writable.
+#
+# In addition, this script currently has to run mountdevsubfs.sh too
+# because in versions of the udev package prior to 0.080-1, the "udev"
+# initscript ran at S04udev (_after_ S04mountdevsubfs.sh) and unmounted
+# /dev/pts and /dev/shm.
+#
+
 case "$1" in
   start|"")
 	set "start"




More information about the Pkg-sysvinit-commits mailing list