[Pkg-sysvinit-commits] r1315 - in sysvinit/trunk/debian: . initscripts/etc/init.d
kelmo-guest at alioth.debian.org
kelmo-guest at alioth.debian.org
Mon Feb 2 13:47:41 UTC 2009
Author: kelmo-guest
Date: 2009-02-02 13:47:41 +0000 (Mon, 02 Feb 2009)
New Revision: 1315
Modified:
sysvinit/trunk/debian/changelog
sysvinit/trunk/debian/initscripts/etc/init.d/mountkernfs.sh
Log:
Do not mount usbfs any more, it was deprecated long ago.
Applications should all use /dev/bus/usb, which can be managed more
flexibly (assign permissions with udev, and the like). Thanks Martin
Pitt. Closes: #483392, #422940, #360165, #471101
Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog 2009-02-02 13:10:26 UTC (rev 1314)
+++ sysvinit/trunk/debian/changelog 2009-02-02 13:47:41 UTC (rev 1315)
@@ -21,8 +21,12 @@
* Add comment to debian/sysv-rc/etc/init.d/rc about debug=echo, it
should never be left uncommented for a real boot process and should
only be used for interactive debugging. Closes: #510455
+ * Do not mount usbfs any more, it was deprecated long ago.
+ Applications should all use /dev/bus/usb, which can be managed more
+ flexibly (assign permissions with udev, and the like). Thanks Martin
+ Pitt. Closes: #483392, #422940, #360165, #471101
- -- Kel Modderman <kel at otaku42.de> Mon, 02 Feb 2009 23:10:07 +1000
+ -- Kel Modderman <kel at otaku42.de> Mon, 02 Feb 2009 23:37:24 +1000
sysvinit (2.86.ds1-61) unstable; urgency=low
Modified: sysvinit/trunk/debian/initscripts/etc/init.d/mountkernfs.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/mountkernfs.sh 2009-02-02 13:10:26 UTC (rev 1314)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/mountkernfs.sh 2009-02-02 13:47:41 UTC (rev 1315)
@@ -59,21 +59,6 @@
domount tmpfs "" /var/lock varlock -omode=1777,nodev,noexec,nosuid$LOCK_OPT
touch /var/lock/.ramfs
fi
-
- #
- # Mount usbfs/usbdevfs if /proc/bus/usb is present.
- #
- # Usbfs/usbdevfs is used for USB related binaries/libraries.
- # "usbfs" and "usbdevfs" are the exact same filesystem.
- # "usbdevfs" was renamed to "usbfs" by linux usb developers,
- # because people sometimes mistook it as a part of devfs. Usbfs
- # will be superseded by other filesystems (e.g. sysfs), and when
- # it becomes obsolete the mount action below should be removed.
- #
- if [ -d /proc/bus/usb ]
- then
- domount usbfs usbdevfs /proc/bus/usb usbfs -onodev,noexec,nosuid
- fi
}
case "$1" in
More information about the Pkg-sysvinit-commits
mailing list