Comment 1 for bug 1481967

Revision history for this message
Steve Langasek (vorlon) wrote :

$ env|grep UPST
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/21059
UPSTART_INSTANCE=
UPSTART_EVENTS=xsession started
UPSTART_JOB=unity7
$

It behaves differently based on the process environment - as many programs do. If you want to query the status of system-level jobs, you can use 'status --system' to bypass the per-user session.

And if you want the behavior of 'su' to not be tainted by your user environment, run 'su -'.