[Pkg-sysvinit-devel] Bug#401424: initscripts: please document layout of valid entry for /sys in /etc/fstab

Michael Prokop mika at grml.org
Sun Dec 3 13:51:05 CET 2006


Package: initscripts
Version: 2.86.ds1-36
Severity: wishlist


As discussed with Petter Reinholdtsen on #pkg-sysvinit the fstab
entry for sysfs (if present) has to look like the entry generated by
the initscripts (mountkernfs.sh + mtab.sh). If that's *not* the
case, booting the system complains about something like:

  Will now mount local filesystems:mount: /sys already mounted or /sys busy
  mount: according to mtab, sysfs is already mounted on /sys
    failed

Important is that the sysfs entry in /etc/fstab exactly looks like
the entry generated by the "domount sysfs ..." command of the
initscripts. Therefore a valid fstab-entry for sysfs has to look
like:

sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0

Please document this behaviour in README.Debian.

regards,
-mika-




More information about the Pkg-sysvinit-devel mailing list