To Start a Job via D-Bus

Steffen Barszus steffenbpunkt at
Tue Apr 5 10:45:29 UTC 2011

First point: i should read more often the cookbook ^^ great job :)

Sorry to spam the list with user related questions, but in the absence
of a user list ....

Just tried today in the morning what is described in "To Start a Job
via D-Bus".

I used to have a configuration in /etc/dbus-1/system.d/ which enables
a user to start/stop/restart jobs:

  <policy user="someuser">
    <allow send_destination="com.ubuntu.Upstart"
      send_interface="org.freedesktop.DBus.Properties" />
    <allow send_destination="com.ubuntu.Upstart"
      send_interface="com.ubuntu.Upstart0_6" />
    <allow send_destination="com.ubuntu.Upstart"
      send_interface="com.ubuntu.Upstart0_6.Job" />
    <allow send_destination="com.ubuntu.Upstart"
      send_interface="com.ubuntu.Upstart0_6.Instance" />

I should be able as someuser to start/stop/restart jobs.

This has worked in lucid, but i get an access denied in natty.

Any idea anyone ?

More information about the upstart-devel mailing list