[Pkg-utopia-maintainers] Bug#489738: dbus has problems with ldap groups for policies ("Unknown group "dev-usb" in message bus configuration file")
Noel Köthe
noel at debian.org
Mon Jul 7 13:17:10 UTC 2008
Package: dbus
Version: 1.2.1-2
Severity: important
Hello,
in /etc/dbus-1/system.d/hal.conf the group (from /etc/group) "plugdev"
gets the permission for the removal devices.
We are using LDAP for the account data and don't want to configure every
/etc/group on every machine. So I changed "plugdev" to the ldap group
"dev-usb".
Then I always get the error message:
Unknown group "dev-usb" in message bus configuration file
The group is there because "id" as a user shows me the group and "getent
group dev-usb" shows my user in the group list.
Here is the strace of a starting "dbus --system":
execve("/usr/bin/dbus-daemon", ["dbus-daemon", "--system"], [/* 14 vars
*/]) = 0
brk(0) = 0x80045000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f6b000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=96082, ...}) = 0
mmap2(NULL, 96082, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f53000
close(3) = 0
...
time(NULL) = 1215424300
stat64("/etc/libnss-ldap.conf", {st_mode=S_IFREG|0644, st_size=4822,
...}) = 0
geteuid32() = 0
getsockname(4, {sa_family=AF_INET, sin_port=htons(47834),
sin_addr=inet_addr("10.0.0.1")}, [16]) = 0
getpeername(4, {sa_family=AF_INET, sin_port=htons(389),
sin_addr=inet_addr("10.0.0.2")}, [16]) = 0
time(NULL) = 1215424300
time(NULL) = 1215424300
write(4, "0\201\226\2\1\nc\201\220\4\33ou=Groups,ou=central"..., 153) =
153
gettimeofday({1215424300, 109335}, NULL) = 0
poll([{fd=4, events=POLLIN|POLLPRI|POLLERR|POLLHUP, revents=POLLIN}], 1,
120000) = 1
read(4, "0\2024\324\2\1\nd", 8) = 8
read(4, "\2024\315\4&cn=dev-usb,ou=Groups,ou=cen"..., 13520) = 2888
gettimeofday({1215424300, 111067}, NULL) = 0
poll([{fd=4, events=POLLIN|POLLPRI|POLLERR|POLLHUP, revents=POLLIN}], 1,
119998) = 1
read(4, "a08-a\4\tuser-25\4\006108-20\4\tuser"..., 10632) = 1448
gettimeofday({1215424300, 111216}, NULL) = 0
poll([{fd=4, events=POLLIN|POLLPRI|POLLERR|POLLHUP, revents=POLLIN}], 1,
119998) = 1
read(4, "\tuserk-3\4\nuser--401\4\006704-rl\4\t"..., 9184) = 1448
gettimeofday({1215424300, 111576}, NULL) = 0
poll([{fd=4, events=POLLIN|POLLPRI|POLLERR|POLLHUP, revents=POLLIN}], 1,
119997) = 1
read(4, "\005700-5\4\006625-r2\4\005700-6\4\7vn04-r2\4\5"..., 7736) =
1448
gettimeofday({1215424300, 111756}, NULL) = 0
poll([{fd=4, events=POLLIN|POLLPRI|POLLERR|POLLHUP, revents=POLLIN}], 1,
119997) = 1
read(4, "l2\4\nuser--ml3\4\007115-601\4\nuser--"..., 6288) = 1448
gettimeofday({1215424300, 111881}, NULL) = 0
poll([{fd=4, events=POLLIN|POLLPRI|POLLERR|POLLHUP, revents=POLLIN}], 1,
119997) = 1
read(4, "user--803\4\nuser--804\4\006111-20\4\6"..., 4840) = 1448
gettimeofday({1215424300, 112069}, NULL) = 0
poll([{fd=4, events=POLLIN|POLLPRI|POLLERR|POLLHUP, revents=POLLIN}], 1,
119997) = 1
read(4, "11-92\4\005503-0\4\006111-93\4\006111-94\4\00611"..., 3392) =
3392
gettimeofday({1215424300, 112266}, NULL) = 0
poll([{fd=4, events=POLLIN|POLLPRI|POLLERR|POLLHUP, revents=POLLIN}], 1,
119997) = 1
read(4, "0\f\2\1\ne\7\n", 8) = 8
read(4, "\1\0\4\0\4\0", 6) = 6
time(NULL) = 1215424300
time(NULL) = 1215424300
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
write(2, "Unknown group \"dev-usb\" in messa"..., 58) = 58
open("/etc/passwd", O_RDONLY|0x80000 /* O_??? */) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1374, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb79c8000
...
As you see it read the group cn=dev-usb,ou=Groups,ou=central with the
users but then it still writes "Unknown group \"dev-usb\" in messa"...
If you need more details/information tell me.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dbus depends on:
ii adduser 3.108 add and remove users and groups
ii debianutils 2.30 Miscellaneous utilities specific t
ii libc6 2.7-12 GNU C Library: Shared libraries
ii libdbus-1-3 1.2.1-2 simple interprocess messaging syst
ii libexpat1 2.0.1-4 XML parsing C library - runtime li
ii libselinux1 2.0.59-1 SELinux shared libraries
ii lsb-base 3.2-12 Linux Standard Base 3.2 init scrip
Versions of packages dbus recommends:
ii dbus-x11 1.2.1-2 simple interprocess messaging syst
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list