[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#653598: marked as done (status_of_proc should handle not-world-readable pid files better)



Your message dated Sun, 11 Mar 2012 15:19:35 +0000
with message-id <E1S6kYZ-0005KF-Af@franck.debian.org>
and subject line Bug#653598: fixed in lsb 3.2+Debian31
has caused the Debian Bug report #653598,
regarding status_of_proc should handle not-world-readable pid files better
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.)


-- 
653598: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653598
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lsb-base
Version: 3.2-28
Severity: normal

When a pid file is specified to status_of_proc with the -p option, but
it's not readable, then status_of_proc returns 3 (not running) instead
of 4 (unknown).  pidofproc handles this specially:

    if [ "$specified" ]; then
        return 3 # almost certain it's not running
    fi

but it's not clear why this is supposed to be different depending on
whether the pid file is implicit or explicit.

I suggest untangling this a bit and putting

    if [ -n "${pidfile:-}" ] && [ ! -r "$pidfile" ]; then
        return 4 # pid file not readable
    fi

near the top of pidofproc.  Then we also get the correct message from
status_of_proc.



--- End Message ---
--- Begin Message ---
Source: lsb
Source-Version: 3.2+Debian31

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_3.2+Debian31_all.deb
  to main/l/lsb/lsb-base_3.2+Debian31_all.deb
lsb-core_3.2+Debian31_amd64.deb
  to main/l/lsb/lsb-core_3.2+Debian31_amd64.deb
lsb-cxx_3.2+Debian31_amd64.deb
  to main/l/lsb/lsb-cxx_3.2+Debian31_amd64.deb
lsb-desktop_3.2+Debian31_amd64.deb
  to main/l/lsb/lsb-desktop_3.2+Debian31_amd64.deb
lsb-graphics_3.2+Debian31_amd64.deb
  to main/l/lsb/lsb-graphics_3.2+Debian31_amd64.deb
lsb-languages_3.2+Debian31_amd64.deb
  to main/l/lsb/lsb-languages_3.2+Debian31_amd64.deb
lsb-multimedia_3.2+Debian31_amd64.deb
  to main/l/lsb/lsb-multimedia_3.2+Debian31_amd64.deb
lsb-printing_3.2+Debian31_amd64.deb
  to main/l/lsb/lsb-printing_3.2+Debian31_amd64.deb
lsb-qt4_3.2+Debian31_amd64.deb
  to main/l/lsb/lsb-qt4_3.2+Debian31_amd64.deb
lsb-release_3.2+Debian31_all.deb
  to main/l/lsb/lsb-release_3.2+Debian31_all.deb
lsb_3.2+Debian31.dsc
  to main/l/lsb/lsb_3.2+Debian31.dsc
lsb_3.2+Debian31.tar.gz
  to main/l/lsb/lsb_3.2+Debian31.tar.gz
lsb_3.2+Debian31_all.deb
  to main/l/lsb/lsb_3.2+Debian31_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 653598@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: Sun, 11 Mar 2012 15:04:47 +0100
Source: lsb
Binary: lsb-core lsb-graphics lsb-cxx lsb-desktop lsb-qt4 lsb-languages lsb-multimedia lsb-printing lsb lsb-base lsb-release
Architecture: source amd64 all
Version: 3.2+Debian31
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 3.2 support package
 lsb-base   - Linux Standard Base 3.2 init script functionality
 lsb-core   - Linux Standard Base 3.2 core support package
 lsb-cxx    - Linux Standard Base 3.2 C++ support package
 lsb-desktop - Linux Standard Base 3.2 Desktop support package
 lsb-graphics - Linux Standard Base 3.2 graphics support package
 lsb-languages - Linux Standard Base 3.2 Runtime Languages package
 lsb-multimedia - Linux Standard Base 3.2 Multimedia package
 lsb-printing - Linux Standard Base 3.2 Printing package
 lsb-qt4    - Linux Standard Base 3.2 Qt4 support package
 lsb-release - Linux Standard Base version reporting utility
Closes: 653598 663351
Changes: 
 lsb (3.2+Debian31) unstable; urgency=low
 .
   [ Didier Raboud ]
   * Correct a bug number in the 3.2+Debian30 upload.
   * Promote lsb-release to Priority: optional.
   * Fix both unused and undeclared local variables in pidofproc.
     (Closes: #663351)
 .
   [ Peter Eisentraut ]
   * Handle non-world-readable pid files. (Closes: #653598)
Checksums-Sha1: 
 ed801f11c51a96298db283d50ee2beee46a99439 1982 lsb_3.2+Debian31.dsc
 e36dbb47678d154416e57d7ef1d9d1936d3056b1 94540 lsb_3.2+Debian31.tar.gz
 b6179190c32ec2a4f92e4324038fdfbc117b0fdd 42192 lsb-core_3.2+Debian31_amd64.deb
 b9b8b2dbf5b0f993e6d78ef3850c7c8fcbaf9bcb 17100 lsb-graphics_3.2+Debian31_amd64.deb
 1a3e1cdeba7e90855253756fb664b9271aac466d 17078 lsb-cxx_3.2+Debian31_amd64.deb
 581c72fa6ec88407bf5398cffbc7defd93cc05c9 17234 lsb-desktop_3.2+Debian31_amd64.deb
 e3ee1477d4ddaf3738b2bab7d50b917dd1bc9ff1 17144 lsb-qt4_3.2+Debian31_amd64.deb
 47bf63996685e56a446732f2e2059ec13a5ea3a1 17102 lsb-languages_3.2+Debian31_amd64.deb
 2b35af325367544e89acd1f1f5fac3bdb5f83bec 17084 lsb-multimedia_3.2+Debian31_amd64.deb
 38ec023d3fb2ea4b1fe34c3e0732781e54eeec10 17102 lsb-printing_3.2+Debian31_amd64.deb
 afc133870afe05186148616ff5a80c639cda22a4 17062 lsb_3.2+Debian31_all.deb
 2cf96fcf68ec9d57733c4a19281526f7d5fda649 22038 lsb-base_3.2+Debian31_all.deb
 08ca295a6807d402362487f5b6a26f5387161d89 23766 lsb-release_3.2+Debian31_all.deb
Checksums-Sha256: 
 72d2c4c78d6f83be79279e82267999d0d4174eb0a113b0832f90009c70e1d6bf 1982 lsb_3.2+Debian31.dsc
 ad02baa2f94f2d3ca84052cefd322da8ad2f71bff6ae1563135eb2ba3da6d1ef 94540 lsb_3.2+Debian31.tar.gz
 d408d04c99e83adbcff2777fbda29d5dd792365101f381409ef5b87a434628c3 42192 lsb-core_3.2+Debian31_amd64.deb
 938f41b54b60892a6e23363d6555483de5170bdf9a60d0f75c7b30c8dac4b413 17100 lsb-graphics_3.2+Debian31_amd64.deb
 b1b662c7e135748e1af31ac253eca8d385862fc5258bfe3a0bce3ecfc392d5ca 17078 lsb-cxx_3.2+Debian31_amd64.deb
 76dce96b0d61d394e0f32733d1f866e9218d10e15c28847a44d62171eb5baf54 17234 lsb-desktop_3.2+Debian31_amd64.deb
 c36e732d4ef4a70fc54e757ebcb9a339253f00d22f7b16ee5c3e4957554ff6e4 17144 lsb-qt4_3.2+Debian31_amd64.deb
 bcfcf2b2193a520ae4fa574442a197b4c2284e93ed385064daddbb0f00e5e0bd 17102 lsb-languages_3.2+Debian31_amd64.deb
 460d6c0bface5028b2f0085b697eda77c2a73df31bdb62a4069a66062e079257 17084 lsb-multimedia_3.2+Debian31_amd64.deb
 468ab96d224c6083a1196b1a934e049e83a8f6a8542ce25ade3e26543c1867f6 17102 lsb-printing_3.2+Debian31_amd64.deb
 9fac341b8ef018ec92d3f5518c3d18ab65a86f5693eb69c1ae59871906057e30 17062 lsb_3.2+Debian31_all.deb
 0a76bf53330bdef8c88f34f9b83913218f6b3355de6eb4c25269f5cfa0505ef8 22038 lsb-base_3.2+Debian31_all.deb
 6a254f4fa590d88cdd0d6a1a2f4812723bd4bf30e49117539544fff2b95f4905 23766 lsb-release_3.2+Debian31_all.deb
Files: 
 4655fe18f90468665947dbae5760a63e 1982 misc extra lsb_3.2+Debian31.dsc
 a85061f71cd02f7fef9657149753bde7 94540 misc extra lsb_3.2+Debian31.tar.gz
 c34a4761f35103bfa2d9001a09353b75 42192 misc extra lsb-core_3.2+Debian31_amd64.deb
 27d2239775847f428aa85606a5de6598 17100 misc extra lsb-graphics_3.2+Debian31_amd64.deb
 f884f09662f785dbf35c60e8e918036a 17078 misc extra lsb-cxx_3.2+Debian31_amd64.deb
 596cf1dd1f3953daa5c27063a3d5eb7f 17234 misc extra lsb-desktop_3.2+Debian31_amd64.deb
 bb8c44cb09fdc60cf41f96b58f8343a6 17144 misc extra lsb-qt4_3.2+Debian31_amd64.deb
 c41933d377ed61673053c435bab740bd 17102 misc extra lsb-languages_3.2+Debian31_amd64.deb
 c521f6833d6f6c89b62ba6ec1e2617cf 17084 misc extra lsb-multimedia_3.2+Debian31_amd64.deb
 7e91666288375646d9eee73ca676b3d7 17102 misc extra lsb-printing_3.2+Debian31_amd64.deb
 1811410797cc86b87a58fdcfb59042e4 17062 misc extra lsb_3.2+Debian31_all.deb
 320fa3c3b6b338561daeadee9d557964 22038 misc required lsb-base_3.2+Debian31_all.deb
 7230ae6110575a7314e6b5dd8aa84ed3 23766 misc optional lsb-release_3.2+Debian31_all.deb

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

iQGcBAEBCAAGBQJPXL0lAAoJEIvPpx7KFjRVfGAL/1cHY78Q/KjO3qjcq6uWw/hf
bSR1s0MxQ8uk1OL/qQAIWoT2Qa4gHpqsARaSFu//7EOztmAGB48rZKENbjkAhzX0
RUKyZ1p117zZRKZJXOKmBqhFxIO3xMjqWIAg5JWlZsmdIi5pQutqKgOQlea+gf+W
tWyjZF7RJQzZOjN54Rw7vq8hztR0qndefbU2EUhWW4M2L5dCGvLJgdIaQg7XZOqS
SEhBEJKZ1BmwkJO6IbKLgCXMZgPZlQKF/vkAVbXnH6cGhRHmzKedyAUIFBEoB9W4
w2zkxYU3omjtZkZpkMYqK5dZFG2ZKFJbagcBpXy3nUBFmd9GkDAzcjtwWERSXY8C
dQ1jKE4JuH9lNYUPwDoSpZ3Ort4SE/tt44XJYMtLOURrnm+2hBU7/LyKE8qfhSz6
akz2aTXrQ9p6DxeU+a4ZZOSGzlG+k+4RL2sHFJFoaiMopq429L5hEdG/LJjJmUNW
fzH0FU8v5FzDJ88CzlTflBt/EyFSQYga9qpd1xzeJA==
=8PeQ
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: