VirtualBox

Ticket #3434 (closed defect: worksforme)

Opened 5 years ago

Last modified 5 years ago

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

Reported by: KeyzerSuze Owned by:
Priority: trivial 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

comment:1 Changed 5 years ago by frank

  • Status changed from new to closed
  • Resolution set to invalid

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 Changed 5 years ago by KeyzerSuze

  • Status changed from closed to reopened
  • Resolution invalid deleted

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 Changed 5 years ago by frank

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 Changed 5 years ago by KeyzerSuze

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 Changed 5 years ago by frank

  • Status changed from reopened to closed
  • Resolution set to worksforme

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.

www.oracle.com
ContactPrivacy policyTerms of Use