Comment 3 for bug 1323648

Revision history for this message
Thomas Mack (mack3457) wrote :

Problem popped up when using su to change to root account.

Solution: Use sudo or su - or root user directly or unset UPSTART_SESSION environment variable.

Upstart commands should act more consistently in above case, e.g.:

root@u14:/home/ltest# init-checkconf /etc/init.d/rpcbind
ERROR: File /etc/init/rpcbind.conf: syntax invalid:
root@u14:/home/ltest# init-checkconf /etc/init.d/rpcbind
ERROR: File /etc/init/rpcbind.conf: syntax ok
root@u14:/home/ltest#

does not give a good hint on what goes wrong. Using init-checkconf -d ... does not seem to have this problem.

Similar problems with other upstart commands.