[Pkg-utopia-maintainers] Bug#659953: [Segnalazioni] Bug#659953: dbus: /usr/lib/dbus-1.0/dbus-daemon-launch-helper errors
Nephila
segnalazioni at nephila.it
Wed Feb 15 11:40:33 UTC 2012
Alle 11:41 di mercoledì 15 febbraio 2012, Simon McVittie ha scritto:
> 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
Thank you for directions!
I had messed primary gids for some system users, and messagebus user didn't
have right gid.
I fixed things manually and now looks ok.
I don't know if a check in postinst could be useful
--
Regards
Iacopo Spalletti
Nephila sas
i.spalletti at nephila.it
PGP key block: http://www.nephila.it/pgp
More information about the Pkg-utopia-maintainers
mailing list