Bug#661873: please use --appendlog in weekly cron job
Hannes von Haugwitz
hannes at vonhaugwitz.com
Fri Mar 2 07:25:05 UTC 2012
Package: rkhunter
Version: 1.3.8-10
Severity: minor
Tags: patch
Hi,
the weekly cron job does not use the --appendlog option. Hence the
rkhunter.log file is rotated twice: on the one hand by logrotate (to
rkhunter.log.1) and on the other hand by the weekly cron job (to
rkhunter.log.old).
The attached patch fixes this issue.
Best regards
Hannes
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (300, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.9 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages rkhunter depends on:
ii binutils 2.22-5
ii debconf [debconf-2.0] 1.5.41
ii file 5.10-1
ii net-tools 1.60-24.1
ii perl 5.14.2-7
ii ucf 3.0025+nmu2
Versions of packages rkhunter recommends:
ii curl 7.24.0-1
ii elinks 0.12~pre5-7
ii exim4-daemon-light [mail-transport-agent] 4.77-1+b1
ii iproute 20120105-1
ii lsof 4.81.dfsg.1-1
ii unhide.rb | unhide <none>
ii wget 1.13.4-2
Versions of packages rkhunter suggests:
pn bsd-mailx [mailx] 8.1.2-0.20111106cvs-1
pn libdigest-whirlpool-perl <none>
pn liburi-perl 1.59-1
pn libwww-perl 6.03-1
pn powermgmt-base 1.31
pn tripwire <none>
-- Configuration Files:
/etc/cron.weekly/rkhunter changed [not included]
/etc/default/rkhunter changed [not included]
/etc/rkhunter.conf changed [not included]
-- debconf information excluded
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rkhunter_cron.weekly.patch
Type: text/x-diff
Size: 1078 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/forensics-devel/attachments/20120302/f25ad189/attachment.patch>
More information about the forensics-devel
mailing list