[Pkg-sysvinit-commits] r1197 - in sysvinit/trunk/debian: . initscripts/doc

pere at alioth.debian.org pere at alioth.debian.org
Sat Jan 5 08:08:32 UTC 2008


Author: pere
Date: 2008-01-05 08:08:32 +0000 (Sat, 05 Jan 2008)
New Revision: 1197

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/initscripts/doc/README.Debian
Log:
  * Document the way to list /sys/ in /etc/fstab in initscripts
    README.Debian (Closes: #401424).

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2008-01-04 23:12:51 UTC (rev 1196)
+++ sysvinit/trunk/debian/changelog	2008-01-05 08:08:32 UTC (rev 1197)
@@ -46,6 +46,8 @@
     an already stopped bootlogd.
   * Change initd/killprocs to use same optimization as sendsigs, to
     avoid having to wait 5 seconds if there is no more processes.
+  * Document the way to list /sys/ in /etc/fstab in initscripts
+    README.Debian (Closes: #401424).
 
  -- Petter Reinholdtsen <pere at debian.org>  Mon, 31 Dec 2007 12:18:42 +0100
 

Modified: sysvinit/trunk/debian/initscripts/doc/README.Debian
===================================================================
--- sysvinit/trunk/debian/initscripts/doc/README.Debian	2008-01-04 23:12:51 UTC (rev 1196)
+++ sysvinit/trunk/debian/initscripts/doc/README.Debian	2008-01-05 08:08:32 UTC (rev 1197)
@@ -23,3 +23,20 @@
 Tmpfs can be used as memory filesystem, so you can limit tmpfs
 max size using /etc/default/tmpfs to prevent tmpfs from using
 up all system memory.
+
+/sys in /etc/fstab
+------------------
+
+If the mounting point /sys/ have an entry in /etc/fstab (which is not
+required, it will be mounted in any case), the entry have to look like
+this:
+
+  sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
+
+The reason is that the entry in fstab need to match the entry
+generated by the mountkernfs.sh and mtab.sh scripts.  If it does not,
+the system will complain with this message during boot:
+
+  Will now mount local filesystems:mount: /sys already mounted or /sys busy
+  mount: according to mtab, sysfs is already mounted on /sys
+    failed




More information about the Pkg-sysvinit-commits mailing list