Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372491 - virtualbox-bin-4.0.x: udev rules don't work at startup if /opt is on a separate partition
Summary: virtualbox-bin-4.0.x: udev rules don't work at startup if /opt is on a separa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-21 15:54 UTC by Richard Foltyn
Modified: 2011-06-29 13:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Foltyn 2011-06-21 15:54:14 UTC
Since some version of Virtualbox 4.0.x the udev rules in /lib/udev/rules.d/10-virtualbox.rules try to execute /opt/VirtualBox/VBoxCreateUSBNode.sh at system boot.

This, however, happens before the local disks have been mounted, resulting in several error messages on systems where /opt resides on a separate partition (because I rather not dump gigabytes of proprietary software installed into /opt onto my root partition).

I wonder if it would be possible to have the installer move the VBoxCreateUSBNode.sh script to some directory which can safely be assumed to reside on /. I did this manually several times and adapted the udev rules, but this of course has to be redone on every upgrade, which is tedious.

Reproducible: Always
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-06-28 20:52:51 UTC
Fixed in virtualbox-bin-4.0.10
Comment 2 Kevin Bryan 2011-06-29 13:21:22 UTC
(In reply to comment #1)
> Fixed in virtualbox-bin-4.0.10

The files/10-virtualbox.rules was not updated to reflect this change, so udev still tries to run the script out of /opt.