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

Michael Biebl <[email protected]>
Newsgroups gmane.linux.debian.devel.lsb
Message-ID <20120719011956.17189.13700.reportbug__1292.7254698754$1342660875$gmane$org@pluto.milchstrasse.xx>
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
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.