Package: rkhunter
Version: 1.3.0-2
Severity: normal
Tags: patch
If rkhunter is removed (but not purged), the cron.daily script causes
run-parts to emit a warning:
run-parts: /etc/cron.daily/rkhunter exited with return code 1
A quick check of the other files in /etc/cron.daily shows that other
packages exit with status 0 if the package has been uninstalled, which I
feel is the more correct behaviour.
For completeness, a patch:
--- /etc/cron.daily/rkhunter 2007-10-29 04:34:03.000000000 +0000
+++ /home/chrisb/rkhunter 2008-01-17 12:29:59.000000000 +0000
@@ -3,7 +3,7 @@
RKHUNTER=/usr/bin/rkhunter
if [ ! -x $RKHUNTER ]; then
- exit 1
+ exit 0
fi
# source our config
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages rkhunter depends on:
ii debconf [debconf-2.0] 1.5.17 Debian configuration management sy
ii file 4.21-3 Determines file type using "magic"
ii net-tools 1.60-19 The NET-3 networking toolkit
ii perl 5.8.8-12 Larry Wall's Practical Extraction
ii postfix [mail-transport-agent 2.4.6-2 High-performance mail transport ag
Versions of packages rkhunter recommends:
ii binutils 2.18.1~cvs20071027-1 The GNU assembler, linker and bina
ii iproute 20070313-1 Professional tools to control the
pn libmd5-perl <none> (no description available)
ii links 1.00~pre20-0.1 Character mode WWW browser
ii lynx 2.8.6-2 Text-mode WWW Browser
ii wget 1.10.2-3 retrieves files from the web
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]