Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#5667 - usbfs , rc.sysinit and fstab
Attached to Project:
Arch Linux
Opened by Stefano (kki) - Wednesday, 25 October 2006, 11:03 GMT
Last edited by Roman Kyrylych (Romashka) - Wednesday, 08 November 2006, 21:55 GMT
Opened by Stefano (kki) - Wednesday, 25 October 2006, 11:03 GMT
Last edited by Roman Kyrylych (Romashka) - Wednesday, 08 November 2006, 21:55 GMT
|
Detailsi have problem with parallels (www.parallels.com) since, as a simple user, i'm unable to make my
usb devices 'accessible' to VM. If i run parallels as root it does work. After some investigation i've found this thread: http://www.archlinux.org/pipermail/arch/2006-July/011384.html after i have removed the 'nousbfs' option to rc.sysinit, now parallels work also with my user. So i think is time to fix this 'bug' ? :) thanks ! |
This task depends upon
Closed by Roman Kyrylych (Romashka)
Friday, 10 November 2006, 08:47 GMT
Reason for closing: Won't implement
Friday, 10 November 2006, 08:47 GMT
Reason for closing: Won't implement
umount /proc/bus/usb
umount /proc && mount -t proc none /proc
[ "`grep sysfs /proc/filesystems`" ] && umount /sys && mount -t sysfs none /sys
[ "`grep usbfs /proc/filesystems`" ] && mount -t usbfs none /proc/bus/usb
# now mount all the local filesystems
/bin/mount -a -t $NETFS
Which means in current initscripts usbfs is mounted ignoring fstab.
So, when you remove nousbfs from $NETFS then /bin/mount -a -t $NETFS will try to mount usbfs again?
Or did I miss something?
As Thomas Bächler said, specific mounting of usbfs in rc.sysinit should be removed, as well as nousbfs from $NETFS.
But then, -t nousbfs should be added after -t $NETFS in fsck step.
I'll post a patch for all this, then please tell me if it fixes your problem.
But... then /proc/bus/usb will not be mounted unless it's written in fstab! Can this hurt users with USB devices???
then your script must be aware of all the options passed in fstab, otherwise
it can mount usbfs with the standard options.
Maybe as a workaround for this usbfs problem, you can just remount usbfs in rc.local?
Thanks !