Problem running dbus-daemon-launch-helper

Thomas Koeller thomas at koeller.dyndns.org
Sat Jan 17 07:28:01 PST 2009


Hi all,

I am having trouble installing DeviceKit. Being a dbus newbie, and since the problem
I encountered is apparently DBus-related, I decided to turn to this list for help. In
case it matters, I am on Linux x86_64.

My problem is that dbus-daemon seems to have problems running dbus-daemon-launch-helper:

bash-3.2$ dbus-send --system --print-reply --type=method_call --dest=org.freedesktop.DeviceKit /org/freedesktop/DeviceKit org.freedesktop.DeviceKit.EnumerateBySubsystem array:string:mmc
Error org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1

In my setup, the system-wide dbus daemon is running under the 'messagebus'
account, belonging to the 'messagebus' group:

bash-3.2$ ps -fu messagebus
UID        PID  PPID  C STIME TTY          TIME CMD
11        2036     1  0 Jan13 ?        00:00:02 /usr/bin/dbus-daemon --system
bash-3.2$ ps -fg messagebus
UID        PID  PPID  C STIME TTY          TIME CMD
11        2036     1  0 Jan13 ?        00:00:02 /usr/bin/dbus-daemon --system

I believe the helper program is installed correctly, too:

bash-3.2$ ls -l /usr/libexec/dbus-daemon-launch-helper
-rwsr-x--- 1 root messagebus 64833  1. Jan 15:57 /usr/libexec/dbus-daemon-launch-helper

And indeed, if I invoke dbus-daemon-launch-helper manually as the 'messagebus' user,
it does work as expected:

bash-3.2$ sudo -u messagebus /usr/libexec/dbus-daemon-launch-helper org.freedesktop.DeviceKit
(devkit-daemon:24217): devkit-daemon-DEBUG: Starting devkit-daemon version 002
(devkit-daemon:24217): devkit-daemon-DEBUG: Setting killtimer to 30 seconds
(devkit-daemon:24217): devkit-daemon-DEBUG: Exiting due to inactivity

(devkit-daemon:24217): devkit-daemon-WARNING **: Cannot delete udev socket file: No such file or directory

At this point, I am completely clueless as to what may be wrong with my setup.
Any help appreciated!

thanks,
Thomas





More information about the dbus mailing list