Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314083 - VirtualBox udev rules and service startup script - incorrect
Summary: VirtualBox udev rules and service startup script - incorrect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-09 11:15 UTC by Wlodzimierz Lipert
Modified: 2012-12-22 13:18 UTC (History)
1 user (show)

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 Wlodzimierz Lipert 2010-04-09 11:15:24 UTC
1. UDEV rules.

/etc/udev/rules.d/60-virtualbox-guest-additions.rules

Device permissions assigned to OWNER not GROUP.

Currently:

KERNEL=="vboxguest", NAME="vboxguest", OWNER="vboxguest", MODE="0660"
KERNEL=="vboxuser", NAME="vboxuser", OWNER="vboxguest", MODE="0660"

Solution:

KERNEL=="vboxguest", NAME="vboxguest", GROUP="vboxguest", MODE="0660"
KERNEL=="vboxuser", NAME="vboxuser", GROUP="vboxguest", MODE="0660"

2. Service startup script.

/etc/init.d/virtualbox-guest-additions

Script tries to use /usr/sbin/vboxadd-service (which was renamed to vboxguest-service)

Solution: replace all vboxadd-service strings with vboxguest-service

Reproducible: Always
Comment 1 Wlodzimierz Lipert 2010-04-09 11:16:33 UTC
app-emulation/virtualbox-guest-additions-3.1.6
x11-drivers/xf86-input-virtualbox-3.1.6
x11-drivers/xf86-video-virtualbox-3.1.6
Linux virtual 2.6.31-gentoo-r6 #1 SMP Tue Jan 19 14:47:47 CET 2010 i686 Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz GenuineIntel GNU/Linux
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-12-22 13:18:24 UTC
This was already fixed a long while ago.