VirtualBox

16 年 前 建立

15 年 前 結束

#3434 closed defect (worksforme)

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

回報者: Keyzer Suze 負責人:
元件: installer 版本: VirtualBox 2.1.4
關鍵字: 副本:
Guest type: other Host type: Linux

描述

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

更動歷史 (5)

comment:1 15 年 前Frank Mehnert 編輯

狀態: newclosed
處理結果: 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 15 年 前Keyzer Suze 編輯

狀態: closedreopened
處理結果: invalid

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 15 年 前Frank Mehnert 編輯

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 15 年 前Keyzer Suze 編輯

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 15 年 前Frank Mehnert 編輯

狀態: reopenedclosed
處理結果: 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.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

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