Your message dated Wed, 28 Mar 2012 07:03:11 +0000
with message-id <[email protected]>
and subject line Bug#645791: fixed in ps-watcher 1.08-3
has caused the Debian Bug report #645791,
regarding ps-watcher: Default ps command is invalid.
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 [email protected]
immediately.)
--
645791: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645791
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ps-watcher
Version: 1.08-2
Severity: important
The ps-watcher documentation states that the option --ps_prog defaults to
/bin/ps however
line 342 of /usr/bin/ps-watcher reads "$opts{ps_prog} = 'no'; # Where is
ps?" which
sets the ps command to "no" if unspecified. Because the value is not validated
this will
always cause the program to fail to read the process table but run actions as
if no process
match was found. Running the program in debug mode produces the following
output.
Can't exec "no": No such file or directory at /usr/bin/ps-watcher line 584 (#1)
(W exec) A system(), exec(), or piped open call could not execute the
named program for the indicated reason. Typical reasons include: the
permissions were wrong on the file, the file wasn't found in
$ENV{PATH}, the executable in question was compiled for another
architecture, or the #! line in a script points to an interpreter that
can't be run for similar reasons. (Or maybe your system doesn't support
#! at all.)
To be consistent with the documentation the maintainer should change the
default from "no" to
"/bin/ps". Alternately the documentation should reflect the need for a required
configuration
directive and the program should fail if it cannot validate the ps command. In
Debian the
program can be made operable by simply adding "--ps-prog /bin/ps" to the
DAEMON_OPTS section
of /etc/default/ps-watcher.
-- System Information:
Debian Release: 6.0.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ps-watcher depends on:
ii libconfig-inifiles-per 2.52-1 Read .ini-style configuration file
ii perl 5.10.1-17squeeze2 Larry Wall's Practical Extraction
Versions of packages ps-watcher recommends:
ii perl [libsys-syslog-pe 5.10.1-17squeeze2 Larry Wall's Practical Extraction
ps-watcher suggests no packages.
-- Configuration Files:
/etc/default/ps-watcher changed [not included]
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: ps-watcher
Source-Version: 1.08-3
We believe that the bug you reported is fixed in the latest version of
ps-watcher, which is due to be installed in the Debian FTP archive:
ps-watcher_1.08-3.debian.tar.gz
to main/p/ps-watcher/ps-watcher_1.08-3.debian.tar.gz
ps-watcher_1.08-3.dsc
to main/p/ps-watcher/ps-watcher_1.08-3.dsc
ps-watcher_1.08-3_all.deb
to main/p/ps-watcher/ps-watcher_1.08-3_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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jan Wagner <[email protected]> (supplier of updated ps-watcher 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 28 Mar 2012 08:53:20 +0200
Source: ps-watcher
Binary: ps-watcher
Architecture: source all
Version: 1.08-3
Distribution: unstable
Urgency: low
Maintainer: Jan Wagner <[email protected]>
Changed-By: Jan Wagner <[email protected]>
Description:
ps-watcher - monitoring a system via ps-like commands
Closes: 645791
Changes:
ps-watcher (1.08-3) unstable; urgency=low
.
* Bump Standards-Version to 3.9.3, no changes needed
* Raise debhelper version to 9
* Switch packaging format to "3.0 (quilt)"
* Add build-arch and build-indep targets to debian/rules
* Add patches/ps_binary to set ps_prog to "/bin/ps", thank to Gregory Davis
(Closes: 645791)
Checksums-Sha1:
462ade0ecb5a22cd575f6df8cccfa1df3db05ca2 1284 ps-watcher_1.08-3.dsc
9c550dbf744241c1761224f496df4c55d6728157 5939 ps-watcher_1.08-3.debian.tar.gz
62babadd75fb634b2266ca69564933228392a3e6 42172 ps-watcher_1.08-3_all.deb
Checksums-Sha256:
b462ba8f52b5c5e436e9e9b6e1f6908715ed78b5f3a1d861e1bcd1b4caae2b95 1284
ps-watcher_1.08-3.dsc
6457c4252fd0a965c45bee32fed4b79717a8e37905b00299cd1de51cd44b3199 5939
ps-watcher_1.08-3.debian.tar.gz
cf216aeb522da63f27ee34137ba1c018ae49bd372f139578471d0ac016535f00 42172
ps-watcher_1.08-3_all.deb
Files:
ca25787e14c5dbba620987aacd78f1eb 1284 admin extra ps-watcher_1.08-3.dsc
808a51b30fe008f31942118af9d5690c 5939 admin extra
ps-watcher_1.08-3.debian.tar.gz
9369decb083edfa650cd4aa8beb138e3 42172 admin extra ps-watcher_1.08-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFPcrWr9u6Dud+QFyQRAiiDAKDEfmAQcsVQaZeMxZa0IO/pN1ZjaACfZ8v1
Kyybk899ZcU+6lnrPgwDKO0=
=3Hhq
-----END PGP SIGNATURE-----
--- End Message ---