VirtualBox

Opened 12 years ago

Closed 9 years ago

#10404 closed defect (wontfix)

udev rules want to access not mounted /usr -> can be solved with manual fix

Reported by: DanielDuesentrieb Owned by:
Component: installer Version: VirtualBox 4.1.10
Keywords: Cc:
Guest type: other Host type: Linux

Description

Hello,

I am using the Virtualbox Debian package for wheezy.

During boot I get the message from udev that the script

  • /usr/share/virtualbox/VBoxCreateUSBNode.sh

can not be found. At this moment the /usr partition is not mounted. I have contacted the Debian udev maintainer:

-http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666928

He suggests a solution similar to the bluez package described here:

It is planned to modify the appropriate Virtualbox postinstall script accordingly?

Change History (4)

comment:1 by DanielDuesentrieb, 12 years ago

A short amendment:

Another solution would be to move

  • /usr/share/Virtualbox/VBoxCreateUSBNode.sh

to

  • /lib/udev/VBoxCreateUSBNode.sh

and modify the path in

  • /etc/udev/rules.d/10-virtualbox.rules

accordingly. To use a seperate /usr partition is recommended in a Debian Install Documentation, I think it would be reasonable to adapt the Debian post install script in the next release.

comment:2 by bjarne, 11 years ago

This bug is really a nuisance in in Wheezy since most installations have a seperate /usr partition. Can we please fix it the way it's implemented in the official debian repo, where VBoxCreateUSBNode.sh is located in /lib/udev.

Best Regards / Bjarne

comment:3 by Michael Thayer, 9 years ago

Any idea how udev would react if the file /etc/udev/rules.d/10-virtualbox.rules were a symbolic link into /usr/share/VirtualBox, and thus available or not available when /usr/share/VirtualBox/VBoxCreateUSBNode.sh is?

comment:4 by Michael Thayer, 9 years ago

Resolution: wontfix
Status: newclosed
Summary: udev rules want to access not mounted /usrudev rules want to access not mounted /usr -> can be solved with manual fix

I'm afraid this will probably not get changed. It seems that these days having a separate /usr partition is not supported by the large distributions<1> (I tried the test on my Ubuntu system too, and I assume that applies to Debian too these days), and by that logic a user wishing to have it anyway will need to be ready to do manual work. As you point out, this issue can already be solved with a little manual work, but I suspect it is no longer an issue for you either.

<1> http://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken/

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use