Service File Not Present

Richard Hughes hughsient at gmail.com
Sat Feb 9 07:42:45 PST 2008


On Feb 8, 2008 5:39 PM, Robert Rawlins <robert_rawlins at hotmail.com> wrote:
>
> >> Is there any way in which to get dbus looking at that .service file when
> it loads?
>
>  Ok Guys, I think I've made some progress on solving this little issue. I
> moved the service file into /usr/share/dbus-1/services and it now isn't
> throwing up that error message, I'm now getting a new error which says:
>
>  DBusException: org.freedesktop.DBus.Error.Spawn.FileInvalid: Cannot do
> system-bus activation with no user
>
>  Any Ideas what this one means? googling any of these gives practically no
> results.

You need to use a "User=foo" line into the service file so that dbus
knows what user to launch the process as. There's a document in the
dbus source tree that describes system-activation in more detail. I
don't have a checkout handy, but search for *activation.txt.

I hope that helps,

Richard.


More information about the dbus mailing list