Package: logcheck Version: 1.3.14 Severity: normal Tags: patch I keep getting these messages logged, when under high load. This patch should clean that up.
commit 72661acccafa519fcb48a6a756e5c35d96e7511d Author: Cristian Ionescu-Idbohrn <cristian.ionescu-idbo...@axis.com> Date: Fri Jan 27 16:08:33 2012 +0100 Workaround for error: /usr/sbin/logcheck: line 100: kill: (31667) - No such process diff --git a/logcheck b/logcheck index 5878795..91125cd 100755 --- a/logcheck +++ b/logcheck @@ -97,7 +97,7 @@ cleanup() { if [ -n "$LOCK" ]; then debug "cleanup: Killing lockfile-touch - $LOCK" - kill "$LOCK" && unset LOCK + kill -0 $LOCK && kill "$LOCK" && unset LOCK fi if [ -f "$LOCKFILE.lock" ]; then The script would surely benefit (efficiency wise) from a thorough cleanup, IMO. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.2.0-1-686-pae (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages logcheck depends on: ii adduser 3.113 ii cron 3.0pl1-120 ii lockfile-progs 0.1.16 ii logtail 1.3.14 ii mime-construct 1.11 ii postfix [mail-transport-agent] 2.8.7-1 ii rsyslog [system-log-daemon] 5.8.6-1 Versions of packages logcheck recommends: ii logcheck-database 1.3.14 Versions of packages logcheck suggests: ii syslog-summary 1.14-2 -- Configuration Files: /etc/logcheck/logcheck.conf [Errno 13] Permission denied: u'/etc/logcheck/logcheck.conf' /etc/logcheck/logcheck.logfiles [Errno 13] Permission denied: u'/etc/logcheck/logcheck.logfiles' -- debconf information: logcheck/changes: * logcheck/install-note: Cheers, -- Cristian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org