Debian Bug report logs - #682032
init_is_upstart warnings if upstart installed but not running

version graph

Package: lsb-base; Maintainer for lsb-base is Debian LSB Team <debian-lsb@lists.debian.org>; Source for lsb-base is src:lsb (PTS, buildd, popcon).

Reported by: Michael Biebl <biebl@debian.org>

Date: Thu, 19 Jul 2012 01:21:01 UTC

Severity: normal

Found in version lsb/4.1+Debian7

Fixed in version lsb/4.1+Debian8

Done: Didier Raboud <odyx@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian LSB Team <debian-lsb@lists.debian.org>:
Bug#682032; Package lsb-base. (Thu, 19 Jul 2012 01:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Biebl <biebl@debian.org>:
New Bug report received and forwarded. Copy sent to Debian LSB Team <debian-lsb@lists.debian.org>. (Thu, 19 Jul 2012 01:21:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: init_is_upstart warnings if upstart installed but not running
Date: Thu, 19 Jul 2012 03:19:56 +0200
Package: lsb-base
Version: 4.1+Debian7
Severity: normal
File: /lib/lsb/init-functions

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




-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian LSB Team <debian-lsb@lists.debian.org>:
Bug#682032; Package lsb-base. (Sun, 29 Jul 2012 11:54:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Didier 'OdyX' Raboud" <odyx@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian LSB Team <debian-lsb@lists.debian.org>. (Sun, 29 Jul 2012 11:54:03 GMT) (full text, mbox, link).


Message #10 received at 682032@bugs.debian.org (full text, mbox, reply):

From: "Didier 'OdyX' Raboud" <odyx@debian.org>
To: Michael Biebl <biebl@debian.org>, 682032@bugs.debian.org
Subject: Re: Bug#682032: init_is_upstart warnings if upstart installed but not running
Date: Sun, 29 Jul 2012 13:50:46 +0200
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



Information forwarded to debian-bugs-dist@lists.debian.org, Debian LSB Team <debian-lsb@lists.debian.org>:
Bug#682032; Package lsb-base. (Sun, 29 Jul 2012 12:21:05 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian LSB Team <debian-lsb@lists.debian.org>. (Sun, 29 Jul 2012 12:21:05 GMT) (full text, mbox, link).


Message #15 received at 682032@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: Didier 'OdyX' Raboud <odyx@debian.org>
Cc: 682032@bugs.debian.org
Subject: Re: Bug#682032: init_is_upstart warnings if upstart installed but not running
Date: Sun, 29 Jul 2012 14:18:33 +0200
[Message part 1 (text/plain, inline)]
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, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian LSB Team <debian-lsb@lists.debian.org>:
Bug#682032; Package lsb-base. (Wed, 08 Aug 2012 12:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to james.hunt@ubuntu.com:
Extra info received and forwarded to list. Copy sent to Debian LSB Team <debian-lsb@lists.debian.org>. (Wed, 08 Aug 2012 12:57:04 GMT) (full text, mbox, link).


Message #20 received at 682032@bugs.debian.org (full text, mbox, reply):

From: James Hunt <james.hunt@ubuntu.com>
To: 682032@bugs.debian.org
Subject: Re: Bug#682032: init_is_upstart warnings if upstart installed but
Date: Wed, 08 Aug 2012 13:53:42 +0100
Michael - I think you may have misread Didiers query; note the
distinction between:

  # simply prints the version of *initctl*.
  /sbin/initctl --version

  # talks to upstart over D-Bus and prints the version of *Upstart*
  /sbin/initctl version

Didier - yes, Upstart does indeed return the string "upstart" in the
latter scenario. On an Ubuntu Precise system:

$ /sbin/initctl version 2>/dev/null
init (upstart 1.5)


Kind regards,

James.
--
James Hunt
____________________________________
http://upstart.ubuntu.com/cookbook
http://upstart.ubuntu.com/cookbook/upstart_cookbook.pdf



Information forwarded to debian-bugs-dist@lists.debian.org, Debian LSB Team <debian-lsb@lists.debian.org>:
Bug#682032; Package lsb-base. (Thu, 23 Aug 2012 02:15:03 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian LSB Team <debian-lsb@lists.debian.org>. (Thu, 23 Aug 2012 02:15:03 GMT) (full text, mbox, link).


Message #25 received at 682032@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: 682032@bugs.debian.org, James Hunt <james.hunt@ubuntu.com>
Subject: Re: Bug#682032: init_is_upstart warnings if upstart installed but
Date: Thu, 23 Aug 2012 04:13:36 +0200
[Message part 1 (text/plain, inline)]
Hi James,

James Hunt wrote:
> Michael - I think you may have misread Didiers query; 

Indeed, sorry for that mixup.

> Didier - yes, Upstart does indeed return the string "upstart" in the
> latter scenario. On an Ubuntu Precise system:
> 
> $ /sbin/initctl version 2>/dev/null
> init (upstart 1.5)

Thanks for the clarification!

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

[signature.asc (application/pgp-signature, attachment)]

Bug 682032 cloned as bug 685779 Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Fri, 24 Aug 2012 13:24:19 GMT) (full text, mbox, link).


Reply sent to Didier Raboud <odyx@debian.org>:
You have taken responsibility. (Mon, 05 Nov 2012 11:36:08 GMT) (full text, mbox, link).


Notification sent to Michael Biebl <biebl@debian.org>:
Bug acknowledged by developer. (Mon, 05 Nov 2012 11:36:09 GMT) (full text, mbox, link).


Message #32 received at 682032-close@bugs.debian.org (full text, mbox, reply):

From: Didier Raboud <odyx@debian.org>
To: 682032-close@bugs.debian.org
Subject: Bug#682032: fixed in lsb 4.1+Debian8
Date: Mon, 05 Nov 2012 11:33:29 +0000
Source: lsb
Source-Version: 4.1+Debian8

We believe that the bug you reported is fixed in the latest version of
lsb, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 682032@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated lsb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 05 Nov 2012 12:03:33 +0100
Source: lsb
Binary: lsb-core lsb-graphics lsb-cxx lsb-desktop lsb-languages lsb-multimedia lsb-printing lsb-security lsb lsb-base lsb-release lsb-invalid-mta
Architecture: source amd64 all
Version: 4.1+Debian8
Distribution: unstable
Urgency: low
Maintainer: Debian LSB Team <debian-lsb@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Description: 
 lsb        - Linux Standard Base 4.1 support package
 lsb-base   - Linux Standard Base 4.1 init script functionality
 lsb-core   - Linux Standard Base 4.1 core support package
 lsb-cxx    - Linux Standard Base 4.1 C++ support package
 lsb-desktop - Linux Standard Base 4.1 Desktop support package
 lsb-graphics - Linux Standard Base 4.1 graphics support package
 lsb-invalid-mta - Linux Standard Base sendmail dummy
 lsb-languages - Linux Standard Base 4.1 Runtime Languages package
 lsb-multimedia - Linux Standard Base 4.1 Multimedia package
 lsb-printing - Linux Standard Base 4.1 Printing package
 lsb-release - Linux Standard Base version reporting utility
 lsb-security - Linux Standard Base 4.1 Security package
Closes: 682032
Changes: 
 lsb (4.1+Debian8) unstable; urgency=low
 .
   * Fix libqt3-mt missing epoch.
   * Hide the stderr output of $(initctl version) in init_is_upstart.
     (Closes: #682032)
Checksums-Sha1: 
 4d2b9044824367204984bac93e149338cc0d03d7 2040 lsb_4.1+Debian8.dsc
 68b43d3da2bc78c6f3f908867ac20cc968db828c 60438 lsb_4.1+Debian8.tar.bz2
 76cc37888059861d8a7f2828cec3a694ee56caaf 43818 lsb-core_4.1+Debian8_amd64.deb
 4bcfd49382daa054f0900782aac541c9eb7f1991 18970 lsb-graphics_4.1+Debian8_amd64.deb
 8c7e0f247689a6f3e80d18a8953bc7110c8ab650 18944 lsb-cxx_4.1+Debian8_amd64.deb
 7b447eef07c84b29d076e794ec22ad973bdccafe 20096 lsb-desktop_4.1+Debian8_amd64.deb
 45e81a1aeecefb40e9828279aa30e47de9abcbbc 18980 lsb-languages_4.1+Debian8_amd64.deb
 97bbdcc0fc5bd9fe9111c37a4527c77bab37e762 18946 lsb-multimedia_4.1+Debian8_amd64.deb
 539dc8111cdaa3ff832629836e34aa7122999306 18972 lsb-printing_4.1+Debian8_amd64.deb
 4fc852310b82b405c631a614865a90f2efb903ce 18958 lsb-security_4.1+Debian8_amd64.deb
 7c8f497cc22ad9910711fff31986051405fc9d17 18938 lsb_4.1+Debian8_all.deb
 108b1996f1e94b55be6b1ae5dd223f80e6bc7311 26276 lsb-base_4.1+Debian8_all.deb
 8caa82b99faed2454f9fc4625d5fd16315c6a6e7 25852 lsb-release_4.1+Debian8_all.deb
 e1d8e01195a4cfd6381af2d7c51a853429b78b99 19324 lsb-invalid-mta_4.1+Debian8_all.deb
Checksums-Sha256: 
 64efea76fbfa044e6013bbd6e85e8ba076b66f3458bc0f0a7f2504f8f0e907b5 2040 lsb_4.1+Debian8.dsc
 f4d8d3812474cf3030dd886341d4cd974cc1a0d2d42747c818f373e3b62ae738 60438 lsb_4.1+Debian8.tar.bz2
 fdadfac6914f16d3ba950234a957c82dc650e4d436d468beb078f1507c001cb0 43818 lsb-core_4.1+Debian8_amd64.deb
 80184e780a671d72327a0987a76144a2690e184515b4134d638623e32754b1f9 18970 lsb-graphics_4.1+Debian8_amd64.deb
 c62d4d7bb6fdecb713da6f9e0634f78a5a09a65a165f8e34fe612bb8520f8ebc 18944 lsb-cxx_4.1+Debian8_amd64.deb
 72f8d64b7b1a72fd4b5eee0661008280c8084bc3fd3986b22f67260f5b686dfd 20096 lsb-desktop_4.1+Debian8_amd64.deb
 862f3b14cc7c49bc4be614a946a4522e1861694a8ddecc5e626ef22477b7706a 18980 lsb-languages_4.1+Debian8_amd64.deb
 284971e5d1e2c0b0418ce8b9a7da60fac5febdc3f62457d087ce8c5f139521e3 18946 lsb-multimedia_4.1+Debian8_amd64.deb
 e1e399257087cdd1f81be587419713fe215f109847530351ea9011a94c53b2b2 18972 lsb-printing_4.1+Debian8_amd64.deb
 24352f874dcdeed880cf7db847286f9529edbf9c078be0bdd5d24d323e738021 18958 lsb-security_4.1+Debian8_amd64.deb
 f60dfe15861551fcffb25033357111ee810ed8f9992036b99c67ee46abac3407 18938 lsb_4.1+Debian8_all.deb
 7954952d518f95fc3949bb807bb6e72c992bb0ad2302b3a1bc3e2de57ee3c09a 26276 lsb-base_4.1+Debian8_all.deb
 1aea2385f6c58fa4b17c0ab8eef2cf24e05f2dcc19eaca8c2222989b5566c87e 25852 lsb-release_4.1+Debian8_all.deb
 de5bf2913f0ae0b2271839ab1828b3d3192d69f465a848f3e8cce621da9c6712 19324 lsb-invalid-mta_4.1+Debian8_all.deb
Files: 
 68de5c165b75fa80dccd219688ed996f 2040 misc extra lsb_4.1+Debian8.dsc
 daabe659d4d2a821a8269d7828ebd249 60438 misc extra lsb_4.1+Debian8.tar.bz2
 5d615d7f48b27b723dd20e2def969d47 43818 misc extra lsb-core_4.1+Debian8_amd64.deb
 11edc262c4527485ddbe9bd2c79fab70 18970 misc extra lsb-graphics_4.1+Debian8_amd64.deb
 3f0c975a43ed6e7dfa53acd380affc49 18944 misc extra lsb-cxx_4.1+Debian8_amd64.deb
 10cc7bdab3458c4288ee3990bb1f45ef 20096 misc extra lsb-desktop_4.1+Debian8_amd64.deb
 830d9b53351eedf18667b731f18b2327 18980 misc extra lsb-languages_4.1+Debian8_amd64.deb
 1c7f3cf8d96e4d3be83b2f87a33b5443 18946 misc extra lsb-multimedia_4.1+Debian8_amd64.deb
 fd0dec0c70cb5c67cd51f024bbb217b6 18972 misc extra lsb-printing_4.1+Debian8_amd64.deb
 f65efbdc2c466e249559984aa86c64de 18958 misc extra lsb-security_4.1+Debian8_amd64.deb
 86b59cfd232b8cb55c3432a58da01b2e 18938 misc extra lsb_4.1+Debian8_all.deb
 7c8d74a206a196bca43b5879887ac0e7 26276 misc required lsb-base_4.1+Debian8_all.deb
 af7c1b8633765af231ca8c106e0e15d7 25852 misc optional lsb-release_4.1+Debian8_all.deb
 97c23749ccf54972529c4be2d3aecb6e 19324 misc extra lsb-invalid-mta_4.1+Debian8_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQGcBAEBCAAGBQJQl5/jAAoJEIvPpx7KFjRV/D4L+gKr8BuVtwv6rsw8O4n6PIcU
t64iR892ZXjI4+VTAnJE2TdGJ6Hq+Y35Dxg/L68dolHl43iXmr9AWsyGWhRa1rRx
oMQsnSn7OMfqUtd/Fjhc8tCEoo4Qjv/UC6E9cvaop98t6NuriU8ARA79kE3OyPx1
jHgDKB3bp6jQnyZXB7i33MITJVaIBuxtOcM0Vf5Dmd8MAnWdwAWphJdFCOmnN/u3
scYswFdHkb/HgjslvD+3RYA5s92CArlXL0EIEWLXdQGHMQ5E5BNuQlkXFhRSXQ8l
S4m+W0xZ+DgdwcnhnlyquHaPHrAILUx6twAHBcx9Vhhsf2qlkA2dV70TGH9yFFtm
lB5egX5eKYC+jUcBKk3qx6NzafkU9SbNzEdvKHEeDyUwGsr2AwxAhAFgLG5AiGjS
I1l8orOf0uyItj102lqT9bqPdX627yAfcQGBsVwNAx03egHExGcF0N5bKiF7uuop
rWazoNgOzYroogAQ0XbgraLbcWsdVm9DnmOODtncuw==
=AkK0
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 14 Dec 2012 07:26:57 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jan 13 03:36:03 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.