initctl: output better errors than D-Bus (e.g. for permission denied)
Bug #431239 reported by
j^
This bug affects 10 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
Triaged
|
Low
|
Unassigned | ||
upstart (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Binary package hint: upstart
trying to start/stop a service without having the right privileges one should get a better error message.
right now it looks like this:
$ start network-manager
start: Rejected send message, 1 matched rules; type="method_call", sender=":1.158" (uid=501 pid=22395 comm="start) interface=
what about:
$ start network-manager
You dont have enough privileges to start network-manager, try running sudo start netowkr-manager
To post a comment you must log in.
The error is quite descriptive, but yes, point taken - it should be a more "human" error not an exact description of which D-Bus security rule it failed