start gives really poor error message when you are not root
Bug #1001874 reported by
Ivan Sorokin
This bug report is a duplicate of:
Bug #431239: initctl: output better errors than D-Bus (e.g. for permission denied).
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I've just created my first upstart script. "start" program gives really poor error message when you are not root:
ivan@liberty:
start: Rejected send message, 1 matched rules; type="method_call", sender=":1.60" (uid=1000 pid=2848 comm="start ivan-cache-create ") interface=
It took some time to figure out what I was doing wrong. Could upstart give more clear error message? Like apt-get:
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
To post a comment you must log in.
I agree, this should probably be a Wishlist priority.