You are not logged in.

#1 2010-12-01 11:09:47

peoro
Member
Registered: 2007-06-10
Posts: 67

VirtualBox group conflicting with an ldap's group

VirtualBox installs a group (named `vboxusers', whose GID is 108) to allow users to use it: virtualbox.install.

My machine is integrated in a network with centralized users and groups (via ldap), and I found out there's already a group with GID 108:

# getent group | grep 108
srcadm:*:108:

For this reason, when I install `virtualbox-ose' I get an error:

groupadd: GID '108' already exists

How can I avoid it?
An easy solution I got is to edit `virtualbox-ose' package, in order to change `vboxusers' GID, but I'd prefer avoiding it: would have to manually upgrade `virtualbox-ose' and stuff. Any other solution?

Offline

#2 2010-12-01 20:24:47

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: VirtualBox group conflicting with an ldap's group

As far as I can see you will need to create the local group with a different GID.  The real problem is what happens if, after install, your new local GID gets allocated to a network group.

The solution is to have a centralised way to manage the allocation of UIDs and GIDs and to make sure that local accounts and groups do not get allocated duplicates.

edit:  the solution is to create one centralised vbox group.

Last edited by loafer (2010-12-01 20:27:30)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

Board footer

Powered by FluxBB