Bug#682032: init_is_upstart warnings if upstart installed but not running

"Didier 'OdyX' Raboud" <[email protected]>
Newsgroups gmane.linux.debian.devel.lsb
Organization Debian - The Universal OS
Message-ID <[email protected]>
Le jeudi, 19 juillet 2012 03.19:56, vous avez écrit :
> If upstart is installed but not running, init_is_upstart produces this
> error message:
> 
> initctl: Unable to connect to Upstart: Failed to connect to socket
> /com/ubuntu/upstart: Connection refused
> 
> I guess initctl version should redirect 2 to /dev/null as you are only
> really interested in the return code

Indeed, thanks for the report, committed.

Can you confirm that on a system with upstart running, $(/sbin/initctl version 
2>/dev/null) indeed has "upstart" in the output?

Cheers,

OdyX
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.