Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 368215

Summary: >=app-emulation/virtualbox-bin-4.0.6-r1: udev rules fail during sysinit if /opt is separate partition
Product: Gentoo Linux Reporter: Chris Coleman <chrsclmn>
Component: Current packagesAssignee: Patrick Lauer <patrick>
Status: RESOLVED INVALID    
Severity: normal CC: swapon
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: suggested fix, patch for virtualbox-bin-4.0.8.ebuild

Description Chris Coleman 2011-05-20 21:31:59 UTC
I have /opt on a separate partition and I'm getting these messages from udev at boot time:

udevd[299]: exec of program '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 512 09' failed
udevd[308]: exec of program '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 128 09' failed
udevd[306]: exec of program '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 896 09' failed
udevd[314]: exec of program '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 768 09' failed
udevd[315]: exec of program '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 386 00' failed
udevd[318]: exec of program '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 640 09' failed
udevd[317]: exec of program '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 3 09' failed
udevd[311]: exec of program '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 385 00' failed

VBoxCreateUSBNode.sh doesn't exist because /opt hasn't been mounted yet. That happens later in the boot sequence.

Reproducible: Always

Steps to Reproduce:
1. have /opt on a separate partition
2. emerge app-emulation/virtualbox-bin-4.0.8
3. reboot
Comment 1 Chris Coleman 2011-05-20 21:36:47 UTC
Created attachment 274163 [details, diff]
suggested fix, patch for virtualbox-bin-4.0.8.ebuild

This copies VBoxCreateUSBNode.sh to /lib/udev/ and updates the path in 10-virtualbox.rules.
Comment 2 Chris Coleman 2011-06-09 22:34:59 UTC
I reported a similar bug to this one in ALSA (bug #369699). But now, having done some reading*, I think that neither that bug nor this one is really a problem that needs to be fixed. I'll just stop having a separate /opt. I'm closing this bug.

* http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken