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

Michael Biebl <[email protected]>
Newsgroups gmane.linux.debian.devel.lsb
Message-ID <50152A19.6010608__2494.81565920195$1343564486$gmane$org@debian.org>
On 29.07.2012 13:50, Didier 'OdyX' Raboud wrote:
> 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?

I no longer have a Debian system running upstart, but I do have access
to Ubuntu Lucid and Precise systems, where I get:

$ initctl --version
initctl (upstart 0.6.5)
Copyright (C) 2010 Canonical Ltd.

This is free software; see the source for copying conditions.  There is
NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


$ initctl --version
initctl (upstart 1.5)
Copyright (C) 2012 Scott James Remnant, Canonical Ltd.

This is free software; see the source for copying conditions.  There is
NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc (application/pgp-signature, 900 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJQFSoaAAoJEGrh3w1gjyLcmNIP/2BqS9W00oESh44irlF4RSG5
bP4Hw4Dt3cFaqzc0GDufbubBVim4NrbqqGY+ATifxEhSGEyrO5WuY7nSDQXJszEM
FZcfasOjo77KyfSLtzLHa0k04oF2u1qYw4oUI1g8bpfQZt1LvBan7FlMw77LWv3B
JqCuMrFedk82kko7pt6IzVhBpsOjYZbPL6BdADMDoays0ic6hxsqewACsb56QFXI
mztNvQh+E8Hza8Ln4Lnp2ydC4s/xPyaji0+A4c06XxFuef25mhZHLCAAiWZXzsmf
jgwrL/A7hseQy8gNgRTYpOruydGg6CGrF0ublzG2RFoB6txgsg+Kg+a8U7oxRjuF
ZkQYrZ0Dk5o//+/uODXxdD2a4tKt1qs3lWd8Tlp6SX1daxNxyulQZq+zdFa35Opq
FwL0XBmG502C6Ffe3qXREYwCUyaB4EI0YMyiQZjQmwlpk354wbWYGoj5ZZX0LA5r
kD3jWZo2FM9POuzR9sAmcZMcbu+V1nASSQILICQXVERJeG0Wm/pOeBNXiaYswK4o
i6Z79p2dim/xBEumI7Hd/A277pypjnWSdNv5naFqCgFcqbuNx8O2BMFQ5Pn880oE
+VRcRTk6isxUEOOFm9y/8eNAD5YhsMyD7SJMzCDbzfPbp6csuPZpbbHgOyOFaV+G
omAOP5mFaWGHig6yGIuk
=MSVV
-----END PGP SIGNATURE-----
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.