system-tools-backends causes dbus error if there's no "admin" group
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sudo (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: system-
the config file /etc/dbus-
<policy group="admin">
<!-- be able to speak to the dispatcher -->
<allow send_destinatio
</policy>
however the group "admin" does not necessarily exist, certainly not in my system (I was trying to install the minial possible system). This causes the error message
* Starting system message bus dbus
Unknown group "admin" in message bus configuration file
when starting dbus. The bug exists in jaunty package system-
if ! getent group stb-admin > /dev/null; then
addgroup --quiet --system stb-admin
fi
in postinst script of system-
addgroup --system admin
How could the 'admin' group not exist? To me, it's required so that even sudo works, so it's not something you should go without. How do you configure your system?
Debian creates the group in their postinst script because they use a specific 'stb-admin' group, but we use our global admin group, so that should not be necessary. If we create it and you're not member of it, that won't really help either.