Bug#664621: marked as done (status option returns with exit code 4 and 'could not access PID file for [...]')
Your message dated Mon, 26 Mar 2012 21:48:24 +0000
with message-id <E1SCHm4-0003nA-Oc@franck.debian.org>
and subject line Bug#664621: fixed in lsb 4.1+Debian0
has caused the Debian Bug report #664621,
regarding status option returns with exit code 4 and 'could not access PID file for [...]'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
664621: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664621
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lsb-base
Version: 3.2+Debian31
Severity: important
If you're stopping e.g. rsyslog and then run:
| /etc/init.d/rsyslog status
you'll get:
| could not access PID file for rsyslog ... failed!
with exit code *4* (same applies to other services like cron,
acpid,...). This is a bit confusing because according to LSB we
have:
| If the status action is requested, the init script will return the
| following exit status codes.
| [...]
| 3 program is not running
| 4 program or service status is unknown
-- http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
I'd expect to get exit code 3 and a less misleading error message
as the init script/program should be aware of its own state in such
a situation.
I noticed this behaviour also with rsyslog + lsb-base version
3.2-23.2squeeze1 in squeeze (actually R.I.Pienaar noticed it and I
offered to take a look at it). I then stumbled upon
http://bugs.debian.org/545896 ("status_of_proc broken by pidofproc
change") which says that should be fixed.
But I finally found a new origin of that bug: it seems it was
re-introduced in lsb-base 3.2+Debian31:
While up to lsb-base 3.2+Debian30 it seems works as expected:
| # /etc/init.d/rsyslog status
| rsyslogd is not running ... failed!
... with lsb-base 3.2+Debian31 it once again fails as noted above:
| # /etc/init.d/rsyslog status
| could not access PID file for rsyslogd ... failed!
I'm tempted to call this an RC bug, but leaving that decision to the
package maintainer(s).
regards,
-mika-
--- End Message ---
--- Begin Message ---
Source: lsb
Source-Version: 4.1+Debian0
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:
lsb-base_4.1+Debian0_all.deb
to main/l/lsb/lsb-base_4.1+Debian0_all.deb
lsb-core_4.1+Debian0_amd64.deb
to main/l/lsb/lsb-core_4.1+Debian0_amd64.deb
lsb-cxx_4.1+Debian0_amd64.deb
to main/l/lsb/lsb-cxx_4.1+Debian0_amd64.deb
lsb-desktop_4.1+Debian0_amd64.deb
to main/l/lsb/lsb-desktop_4.1+Debian0_amd64.deb
lsb-graphics_4.1+Debian0_amd64.deb
to main/l/lsb/lsb-graphics_4.1+Debian0_amd64.deb
lsb-invalid-mta_4.1+Debian0_all.deb
to main/l/lsb/lsb-invalid-mta_4.1+Debian0_all.deb
lsb-languages_4.1+Debian0_amd64.deb
to main/l/lsb/lsb-languages_4.1+Debian0_amd64.deb
lsb-multimedia_4.1+Debian0_amd64.deb
to main/l/lsb/lsb-multimedia_4.1+Debian0_amd64.deb
lsb-printing_4.1+Debian0_amd64.deb
to main/l/lsb/lsb-printing_4.1+Debian0_amd64.deb
lsb-release_4.1+Debian0_all.deb
to main/l/lsb/lsb-release_4.1+Debian0_all.deb
lsb-security_4.1+Debian0_amd64.deb
to main/l/lsb/lsb-security_4.1+Debian0_amd64.deb
lsb_4.1+Debian0.dsc
to main/l/lsb/lsb_4.1+Debian0.dsc
lsb_4.1+Debian0.tar.gz
to main/l/lsb/lsb_4.1+Debian0.tar.gz
lsb_4.1+Debian0_all.deb
to main/l/lsb/lsb_4.1+Debian0_all.deb
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 664621@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, 26 Mar 2012 22:54:40 +0200
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+Debian0
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: 664621
Changes:
lsb (4.1+Debian0) unstable; urgency=low
.
* Upload LSB 4.1 support to unstable.
* Add lsb-languages to lsb Depends.
* Drop lsb suggests, obsoleted by dependencies changes.
* Make init-functions' status_of_proc return the LSB-documented 3 on
inexistant pidfiles. (Closes: #664621)
Checksums-Sha1:
79d94ca5a981ce5f8e3140c456abdfac3882424b 2037 lsb_4.1+Debian0.dsc
f98846dee2a2b9b68806ec207ac17c2b9fe924e8 61972 lsb_4.1+Debian0.tar.gz
3ef88eeede71152f44efdf7d5275f7811264e9b3 43044 lsb-core_4.1+Debian0_amd64.deb
01db4cbf987e5a4507ca792f359587b26e1d27ca 17874 lsb-graphics_4.1+Debian0_amd64.deb
44b02f16149f3ac47335e46301977e57c12ce6bc 17846 lsb-cxx_4.1+Debian0_amd64.deb
bbfe77007d494e6577313a5199d3fba1f9fa9cb8 18030 lsb-desktop_4.1+Debian0_amd64.deb
c3a38e3dfcec40ae7cfe082e890ad248d11c2be4 17876 lsb-languages_4.1+Debian0_amd64.deb
777147d08deb136dddebeec50d4b55cf63025d72 17842 lsb-multimedia_4.1+Debian0_amd64.deb
fa42290ac2d881c0671994147cce6d27fd9433b5 17870 lsb-printing_4.1+Debian0_amd64.deb
005fb805088f403a4eba944033f457856a5ae57e 17846 lsb-security_4.1+Debian0_amd64.deb
240d30343f68685e0f1b7656d2e35b28cb242f24 17830 lsb_4.1+Debian0_all.deb
4be739003e2a5666de37f65b68910b7400356eb6 23202 lsb-base_4.1+Debian0_all.deb
8a2ddc46513c69ee550ec612dcd5b76c5603a78e 24690 lsb-release_4.1+Debian0_all.deb
3d3f1658352424ece3d8f71f1e813f7864025f6c 18176 lsb-invalid-mta_4.1+Debian0_all.deb
Checksums-Sha256:
026c2230ad0846f452a28da99fc281e78fe2c201c75ea36e4c7e9189cf9a07dc 2037 lsb_4.1+Debian0.dsc
f499ac8d0db908b43cbcd70d066df0b36631e73ddf81061430134312d086baf4 61972 lsb_4.1+Debian0.tar.gz
58db8a5c9ac4a16fd5c5424d2dd85f1a514c7c1ad73e23ac606e29b7f503a41d 43044 lsb-core_4.1+Debian0_amd64.deb
37bb09c5f86ec19c1e6ad050b8cffcf756411808b65ecbe801383729f6c798e1 17874 lsb-graphics_4.1+Debian0_amd64.deb
fdbdf9ff9612570e501eb1cbd97eb26272774f9e2291ebf3e26bd6fb67a6f908 17846 lsb-cxx_4.1+Debian0_amd64.deb
32b41e8386540d82bea9f28d31af73c87e4d3226617aed0b81d615b4fc71cca1 18030 lsb-desktop_4.1+Debian0_amd64.deb
30ff8da816f6e026e907938f5edb9b09a4668a3c5257fea19d49f83ad326cbb0 17876 lsb-languages_4.1+Debian0_amd64.deb
46982b9317ff26f23ece6681e521cdbfb082a3eecfe666f4f8ef2d5045d88d75 17842 lsb-multimedia_4.1+Debian0_amd64.deb
f11a05ccc283059453574eb773a70d20c0b3d46f89556488e2f3f17f2fc486e3 17870 lsb-printing_4.1+Debian0_amd64.deb
c4426c38d306f25301bdcd60d2a7e21eee46a171fe89fe2dbeb1970fd9de57ad 17846 lsb-security_4.1+Debian0_amd64.deb
5374a839c30e78456560d02dbbe6fd3611b70d1617857671e80397767a716506 17830 lsb_4.1+Debian0_all.deb
a54ec670e7c49265311998fc86dd666f344abd8cc12d98044d3503a6944252c2 23202 lsb-base_4.1+Debian0_all.deb
3217d66dfeeaceaae78e62d17a9913eb42f9b9b849ba58a5757556d5c006d056 24690 lsb-release_4.1+Debian0_all.deb
1f333c6bc8b035711437fc6c8129bf9db401cc6f1ecf70b37b77ba4f08c5da83 18176 lsb-invalid-mta_4.1+Debian0_all.deb
Files:
dac3a97015e58b2c25a58e0a78b77da1 2037 misc extra lsb_4.1+Debian0.dsc
50223f2ebfce400cc65e5a671ab665c6 61972 misc extra lsb_4.1+Debian0.tar.gz
ed6507acd9d5fe24281a9964afa2abec 43044 misc extra lsb-core_4.1+Debian0_amd64.deb
2389951441e2f87a007d29633ddd623b 17874 misc extra lsb-graphics_4.1+Debian0_amd64.deb
12d1501816a6d254eb7beb14490f9093 17846 misc extra lsb-cxx_4.1+Debian0_amd64.deb
0a7f74e7233ec154750b779320f1f046 18030 misc extra lsb-desktop_4.1+Debian0_amd64.deb
9dcb79db251a96359288a4f0dcf57584 17876 misc extra lsb-languages_4.1+Debian0_amd64.deb
e58563267a16c4c836898298c3f95196 17842 misc extra lsb-multimedia_4.1+Debian0_amd64.deb
97aac6a7bf5b7a40f36de5f104362c5e 17870 misc extra lsb-printing_4.1+Debian0_amd64.deb
b9dc710473908cd4b489388519dc93fd 17846 misc extra lsb-security_4.1+Debian0_amd64.deb
65fd25be00a71b8b35c408002738d75f 17830 misc extra lsb_4.1+Debian0_all.deb
2cff2d038c0b65809434ed3ffffba119 23202 misc required lsb-base_4.1+Debian0_all.deb
4ed154ac780649d9b0c8a1288784d675 24690 misc optional lsb-release_4.1+Debian0_all.deb
57d0f9bb42c7c20d5e2036324a6a6a55 18176 misc extra lsb-invalid-mta_4.1+Debian0_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQGcBAEBCAAGBQJPcNpeAAoJEIvPpx7KFjRVnVsL+wTLA3kedL3eUUK4NTEiBK3w
QJxdXDDLWkeAf5qR0C2W0U395eJT9yANRpJ1k9pNchEC5+0Xg/O9iu+liA201WXC
rhqIssB7P7hPXggd5pSrG2tCpzt9ize33u2YPqVnlIRrSm/WzSwDWKOh2S3AYQL8
X/npjlP6s/yu632IJzaz3tg8pWar4o0ePjUaQozD6G7wf5ChxPM5utP2B3Q1SXDG
j+5TY00ZoFM3hKalxNJClwwWfhKY8+qzZxLEgkpmGaaGy0ojYFGsHdtT89F6nPHo
gWbPYznglaLSdoC7k3S4Y+jYnscAusf5LJVAEBcXsuOble+lsfOEUQkCbqYRqfJw
Cz5u5/iGi4TNhe/vFTQUUzOSX4FuULfY0W59pGyFZJ54vFKsaqPiYuuNFwtvrybN
7LFHoi2l8zWccNSzZfUrz9EE84d83DiaHiYsg+uw5PGyVV1SXRJLVSRqu+41VcB2
W4PlhZx9rqCezLMd2uOHLjVc7GtEtSm27dGkC6Ayfg==
=Pe8N
-----END PGP SIGNATURE-----
--- End Message ---
Reply to: