initctl: meaningless message when the user is not allowed to perform a command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
New
|
Undecided
|
Unassigned | ||
upstart (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: upstart
When you try to perform a upstart command but the user is not allowed to, the error message is a dbus error and needs to be humanized.
Test Case:
- From the command line as an unprivileged user, execute the command:
$ restart gdm
Result:
restart: Rejected send message, 1 matched rules; type="method_call", sender=":1.196" (uid=1000 pid=13672 comm="restart) interface=
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: upstart 0.6.7-4
ProcVersionSign
Uname: Linux 2.6.37-12-generic i686
Architecture: i386
Date: Fri Jan 21 01:02:11 2011
EcryptfsInUse: Yes
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.utf8
LC_MESSAGES=
SHELL=/bin/bash
SourcePackage: upstart
tags: | added: mago |
Agreed, I've seen this too and it is confusing if you aren't intimately familiar with upstart. This should most likely be fixed upstream, so adding the upstream upstart task as well.
Marking Ubuntu upstart task as Triaged, Importance Low.