Comment 0 for bug 1318679

Revision history for this message
Robin McCorkell (xenopathic) wrote :

Running initctl with the UPSTART_SESSION environment variable set causes the --user option to be implicitly set. This fails when the user is logged in as root, as any calls to initctl that affect system services (such as start, stop, restart) fail with 'Unknown job'. Unsetting UPSTART_SESSION restores functionality. This does not affect running initctl under sudo as sudo removes all environment variables.

Upstart version 1.12.1-0ubuntu4 on Ubuntu 14.04 amd64