initctl: meaningless message when the user is not allowed to perform a command

Bug #705679 reported by Jean-Baptiste Lallement
20
This bug affects 4 people
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="com.ubuntu.Upstart0_6.Job" member="Restart" error name="(unset)" requested_reply=0 destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init"))

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: upstart 0.6.7-4
ProcVersionSignature: Ubuntu 2.6.37-12.26-generic 2.6.37
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=en_US.utf8
 SHELL=/bin/bash
SourcePackage: upstart

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
summary: - meaningless message message when the user is not allowed to perform a
- command
+ meaningless message when the user is not allowed to perform a command
tags: added: mago
Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: meaningless message when the user is not allowed to perform a command

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.

Changed in upstart (Ubuntu):
status: New → Incomplete
status: Incomplete → Confirmed
importance: Undecided → Low
status: Confirmed → Triaged
summary: - meaningless message when the user is not allowed to perform a command
+ initctl: meaningless message when the user is not allowed to perform a
+ command
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.