VirtualBox

Opened 16 years ago

Closed 15 years ago

#3434 closed defect (worksforme)

On Debian install user/group check is done on /etc/passwd /etc/group fails with LDAP

Reported by: Keyzer Suze Owned by:
Component: installer Version: VirtualBox 2.1.4
Keywords: Cc:
Guest type: other Host type: Linux

Description

Hi

during the install process you check the passwd and goup files, but this fails when you use ldap to store userid/group information. You attempt to re add userid/group to the system

Change History (5)

comment:1 by Frank Mehnert, 15 years ago

Resolution: invalid
Status: newclosed

Actually I don't know what you are talking about. We don't do any passwd / group check during the install. The only thing we do is adding a group vboxusers. This group is mainly used for handling the permissions of USB devices correctly.

So I don't know how LDAP should be involved.

comment:2 by Keyzer Suze, 15 years ago

Resolution: invalid
Status: closedreopened

Hi

part of the debian install process you do a addgroup for the group, but you only check /etc/group, because I use ldap to hold all my users and groups, this fails.

the logic is the group is not in the /etc/groups files, therefor add. This logic will fail with NIS people as well

virtualbox-2.2.postinst around line 3804

addgroup is done blindly, maybe something like if ! getent groups | grep -q vboxusers then

addgroup vboxusers

fi

comment:3 by Frank Mehnert, 15 years ago

We do addgroup but again, we do not check /etc/group. The permission check is done by Linux. What exactly is your problem, that is, what does not work? Does the installation fail or which problem do you experience.

comment:4 by Keyzer Suze, 15 years ago

OKay, its that every time I do an upgrade or install I see an error message pop up.

Other package usually do some sort of check.

your right there is no bad effect, just a visual one.

comment:5 by Frank Mehnert, 15 years ago

Resolution: worksforme
Status: reopenedclosed

The only error message I can imagine is that the group is already there. Actually this is not an error message but a warning which does not harm.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette