[Pkg-utopia-maintainers] Bug#659953: dbus: /usr/lib/dbus-1.0/dbus-daemon-launch-helper errors
Simon McVittie
smcv at debian.org
Wed Feb 15 10:41:48 UTC 2012
On 15/02/12 09:08, Nephila wrote:
> Feb 15 09:53:54 andalu dbus[18450]: [system] Activated service
> 'org.freedesktop.ConsoleKit' failed: Failed to execute program
> /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Succes
What permissions does your /usr/lib/dbus-1.0/dbus-daemon-launch-helper
have? It should look something like this:
% ls -l /usr/lib/dbus-1.0/dbus-daemon-launch-helper
-rwsr-xr-- 1 root messagebus 293008 Feb 13 17:46
/usr/lib/dbus-1.0/dbus-daemon-launch-helper
(size/date may vary by architecture).
The important things here are that it's setuid root, and it's executable
by group messagebus (only), i.e. 04754 root:messagebus.
Please also check that your messagebus user and group are as expected:
% getent passwd messagebus
messagebus:x:103:104::/var/run/dbus:/bin/false
% getent group messagebus
messagebus:x:104:
The actual numbers are not important here, as long as they're in the
system uid/gid range; the important thing is that the messagebus user's
primary gid (104 here) matches the messagebus group's gid.
Also check the output of
dpkg-statoverride --list /usr/lib/dbus-1.0/dbus-daemon-launch-helper
echo result=$?
We've had bug reports before where dbus-daemon-launch-helper randomly
lost its setuid bit (-rwx... instead of -rws...) or got the wrong group
ID, but none of the dbus maintainers have been able to reproduce this,
and dbus.postinst is meant to fix it anyway...
> All dbus related services (Network Manager, Upower etc) seem affected; in KDE
> such services are totally unavailable.
Right, losing your dbus-daemon-launch-helper will break all system-bus
services like NM and upower (but not session-bus services which run
under your own uid, like Telepathy or Tracker).
> I tried to revert to wheezy version or jump to experimental one with no
> changes.
1.4.18-1 (sid) and 1.5.8-1 (exp) both seem fine to me, and dbus.postinst
is meant to fix the launch helper's permissions and ownership, so
whatever's wrong on your system, it persists between installations.
S
More information about the Pkg-utopia-maintainers
mailing list