"initctl status" no longer works as a non-privileged user
Bug #767053 reported by
James Hunt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart (Ubuntu) |
Fix Released
|
High
|
James Hunt | ||
Natty |
Fix Released
|
High
|
James Hunt |
Bug Description
Binary package hint: upstart
In Maverick, the following command, run as a non-privileged user would
work:
$ initctl status <job>
However, under the version of Upstart in Natty, this will fail:
$ initctl status cron
initctl: Unknown job: cron
... Whilst running the same command as root will succeed:
# initctl status cron
cron start/running, process 858
This problem is confined to non-priv users, but is a regression. The problem also affects the show-config and check-config commands. The problem does not affect the list command, so a work-around is:
$ initctl list|grep "^<job>"
For example,
$ initctl list|grep "^cron"
cron start/running, process 858
Related branches
lp:~jamesodhunt/ubuntu/natty/upstart/fix-for-bug-767053
- Colin Watson: Approve
-
Diff: 130 lines (+35/-16)6 files modifiedChangeLog (+6/-0)
NEWS (+6/-0)
configure.ac (+1/-1)
debian/changelog (+6/-0)
init/control.c (+10/-9)
po/upstart.pot (+6/-6)
Changed in upstart (Ubuntu): | |
assignee: | nobody → James Hunt (jamesodhunt) |
status: | New → In Progress |
tags: | added: regression-potential |
Changed in upstart (Ubuntu Natty): | |
importance: | Undecided → High |
milestone: | none → ubuntu-11.04 |
Changed in upstart (Ubuntu Natty): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This bug was fixed in the package upstart - 0.9.7-1
---------------
upstart (0.9.7-1) natty; urgency=low
* New upstream release 0.9.7: Important session fix (LP: #767053).
-- James Hunt <email address hidden> Wed, 20 Apr 2011 17:44:41 +0100