Debian Bug Tracking System
Sat, 03 May 2008 10:43:04 -0700
Your message dated Sat, 03 May 2008 17:24:13 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#469196: fixed in clamav 0.93~dfsg-1 has caused the Debian Bug report #469196, regarding clamav-daemon: log rotation fails in supervised mode 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.) -- 469196: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469196 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---Package: clamav-daemon Version: 0.92.1~dfsg-1volatile1 Severity: normal Tags: patch If you're running clamd in supervised mode ("Foreground true") then the reload-log options of init.d/clamav-daemon don't work. When logrotate calls it nothing happens, so the daemon keeps writing to the old (and now rotated) log file. Here is a fix. This also fixes the status and reload-database commands. --- clamav-daemon.~1~ 2007-05-30 20:32:52.000000000 -0400 +++ clamav-daemon 2008-03-03 14:03:33.000000000 -0500 @@ -57,14 +57,15 @@ THEPIDFILE="`grep ^PidFile $CLAMAVCONF | awk '{print $2}'`" [ -n "$THEPIDFILE" ] || THEPIDFILE='/var/run/clamav/clamd.pid' +if [ -f "$THEPIDFILE" ]; then + CLAMDPID=`pidofproc -p $THEPIDFILE $DAEMON` + RUNNING=$? +else + CLAMDPID=`pidofproc $DAEMON` + RUNNING=$? +fi if [ -z "$RUN_SUPERVISED" ]; then - if [ -f "$THEPIDFILE" ]; then - PID=`pidofproc -p $THEPIDFILE $DAEMON` - RUNNING=$? - else - PID=`pidofproc $DAEMON` - RUNNING=$? - fi + PID=$CLAMDPID else [ -e "$SUPERVISORPIDFILE" ] && PID=`cat $SUPERVISORPIDFILE` fi @@ -141,16 +142,16 @@ reload-database) OPTIND=1 log_daemon_msg "Reloading database for $DESC" "$NAME" - if [ "$RUNNING" = 0 ] && [ -n "$PID" ]; then - kill -USR2 $PID + if [ "$RUNNING" = 0 ] && [ -n "$CLAMDPID" ]; then + kill -USR2 $CLAMDPID fi log_end_msg $? ;; reload-log) OPTIND=1 log_daemon_msg "Reloading log file for $DESC" "$NAME" - if [ "$RUNNING" = 0 ] && [ -n "$PID" ]; then - kill -HUP $PID + if [ "$RUNNING" = 0 ] && [ -n "$CLAMDPID" ]; then + kill -HUP $CLAMDPID fi log_end_msg $? ;; -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (870, 'stable'), (700, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-6-686-bigmem Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages clamav-daemon depends on: ii clamav-base 0.92.1~dfsg-1volatile1 base package for clamav, an anti-v ii clamav-freshclam 0.92.1~dfsg-1volatile1 downloads clamav virus databases f ii libc6 2.3.6.ds1-13etch5 GNU C Library: Shared libraries ii libclamav3 0.92.1~dfsg-1volatile1 virus scanner library ii lsb-base 3.1-23.2etch1 Linux Standard Base 3.1 init scrip ii ucf 2.0020 Update Configuration File: preserv clamav-daemon recommends no packages. -- no debconf information -- Roderick Schertler [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---Source: clamav Source-Version: 0.93~dfsg-1 We believe that the bug you reported is fixed in the latest version of clamav, which is due to be installed in the Debian FTP archive: clamav-base_0.93~dfsg-1_all.deb to pool/main/c/clamav/clamav-base_0.93~dfsg-1_all.deb clamav-daemon_0.93~dfsg-1_i386.deb to pool/main/c/clamav/clamav-daemon_0.93~dfsg-1_i386.deb clamav-dbg_0.93~dfsg-1_i386.deb to pool/main/c/clamav/clamav-dbg_0.93~dfsg-1_i386.deb clamav-docs_0.93~dfsg-1_all.deb to pool/main/c/clamav/clamav-docs_0.93~dfsg-1_all.deb clamav-freshclam_0.93~dfsg-1_i386.deb to pool/main/c/clamav/clamav-freshclam_0.93~dfsg-1_i386.deb clamav-milter_0.93~dfsg-1_i386.deb to pool/main/c/clamav/clamav-milter_0.93~dfsg-1_i386.deb clamav-testfiles_0.93~dfsg-1_all.deb to pool/main/c/clamav/clamav-testfiles_0.93~dfsg-1_all.deb clamav_0.93~dfsg-1.diff.gz to pool/main/c/clamav/clamav_0.93~dfsg-1.diff.gz clamav_0.93~dfsg-1.dsc to pool/main/c/clamav/clamav_0.93~dfsg-1.dsc clamav_0.93~dfsg-1_i386.deb to pool/main/c/clamav/clamav_0.93~dfsg-1_i386.deb clamav_0.93~dfsg.orig.tar.gz to pool/main/c/clamav/clamav_0.93~dfsg.orig.tar.gz libclamav-dev_0.93~dfsg-1_i386.deb to pool/main/c/clamav/libclamav-dev_0.93~dfsg-1_i386.deb libclamav4_0.93~dfsg-1_i386.deb to pool/main/c/clamav/libclamav4_0.93~dfsg-1_i386.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. Stephen Gran <[EMAIL PROTECTED]> (supplier of updated clamav 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: Mon, 28 Apr 2008 23:57:28 +0100 Source: clamav Binary: clamav-base clamav-docs clamav-dbg clamav libclamav-dev libclamav4 clamav-daemon clamav-testfiles clamav-freshclam clamav-milter Architecture: source all i386 Version: 0.93~dfsg-1 Distribution: unstable Urgency: low Maintainer: Stephen Gran <[EMAIL PROTECTED]> Changed-By: Stephen Gran <[EMAIL PROTECTED]> Description: clamav - anti-virus utility for Unix - command-line interface clamav-base - anti-virus utility for Unix - base package clamav-daemon - anti-virus utility for Unix - scanner daemon clamav-dbg - debug symbols for ClamAV clamav-docs - anti-virus utility for Unix - documentation clamav-freshclam - anti-virus utility for Unix - virus database update utility clamav-milter - anti-virus utility for Unix - sendmail integration clamav-testfiles - anti-virus utility for Unix - test files libclamav-dev - anti-virus utility for Unix - development files libclamav4 - anti-virus utility for Unix - library Closes: 426503 458015 467298 469196 471643 476450 477178 477278 Changes: clamav (0.93~dfsg-1) unstable; urgency=low . * New upstream release (closes: #476450, #477278) - Fixes failure to lock database directory (closes: #467298, #471643, #426503) * Fix logrotation when supervised (closes: #469196) * Run adduser on every new install - this should work around the xen-create-image thing of adding users but not groups (closes: #458015) * Make clamav-milter be a little more self-documenting (closes: #477178) Checksums-Sha1: 3cdbdc04ddeb89a5baea69db75619b4b81654e80 1279 clamav_0.93~dfsg-1.dsc b48c109b48744acf05a8b36fab8567ec9be71649 16103173 clamav_0.93~dfsg.orig.tar.gz 84d68f065340b2cb1c632798d68fe18d41514a56 155380 clamav_0.93~dfsg-1.diff.gz ab4747f27d026a4bbba8559ce3e07b8128028e2a 13811742 clamav-base_0.93~dfsg-1_all.deb 19a5cda38036ee04df18189e8371afdbb8b0b64b 192868 clamav-testfiles_0.93~dfsg-1_all.deb 15394007c8313f68164117c97ead161787060e6a 1047492 clamav-docs_0.93~dfsg-1_all.deb 8b86d9d1361ec41a815640b6ed88d1edfca1f9b7 461824 libclamav4_0.93~dfsg-1_i386.deb bc5e04fefd18985b71da3f77f319ff4aff35783c 594414 clamav_0.93~dfsg-1_i386.deb 6b5d786a1093a90a04ee6fef571c5e0fd7a5d693 211240 clamav-daemon_0.93~dfsg-1_i386.deb 7b22f543c888bc9913143203593f96809e496c89 228826 clamav-freshclam_0.93~dfsg-1_i386.deb 6f6b3d1e38b27393549a2bc8a114cbbf71f6bbf1 212910 clamav-milter_0.93~dfsg-1_i386.deb f6f58ff49f7d6d27e06f2b5fecb730f944d093af 475750 libclamav-dev_0.93~dfsg-1_i386.deb 088f120bcaaca459bc1071143f70e2cbf37916c0 723926 clamav-dbg_0.93~dfsg-1_i386.deb Checksums-Sha256: c4b74f3fef917879c23dec1943618109916811543c23d03de460467f8aefa621 1279 clamav_0.93~dfsg-1.dsc 439febb9c72c25b139d16e071f0246817ab80de4372f4ad83ad6595e158e5c73 16103173 clamav_0.93~dfsg.orig.tar.gz ddc91c426e3262ffc9f6b95300b44a09380a4f41732dd87332f613879f8b8d4a 155380 clamav_0.93~dfsg-1.diff.gz 89842d8ad81f87e326ee1286a70192a9ae6447bf8dbebf0e125a2ccf24eb330f 13811742 clamav-base_0.93~dfsg-1_all.deb 99cd226622aaadf91c1d9cc89760a740e5ab5e855d5d139c0ee6f55566856189 192868 clamav-testfiles_0.93~dfsg-1_all.deb bdebe1867e8e12bec04cb67c41112c7e095dad19900efee67e1dac755b142d87 1047492 clamav-docs_0.93~dfsg-1_all.deb 7042e28275e74193755fb735bdef74e767405a712440a226c30e2f2761716daf 461824 libclamav4_0.93~dfsg-1_i386.deb f87d585a5184f02b62fb2042ec3304d8fdade22decead59e6be987e2a1d0e437 594414 clamav_0.93~dfsg-1_i386.deb 2d01e8761db5625aab0055d8cd044d607687be9275f52105ef401d2cc27d3d7a 211240 clamav-daemon_0.93~dfsg-1_i386.deb 3624ba9efd4f318d8fc7df95562eefcc66a4ec55f46cf432d1e09968e818a5a8 228826 clamav-freshclam_0.93~dfsg-1_i386.deb ac62bae1f92f3434041853290b23c9d042b8d3d643e8deb04fcae9e76d35f83f 212910 clamav-milter_0.93~dfsg-1_i386.deb d6f599901625b337adc428bc206989c5e0c716ac141670ca108a1cc03a99ff81 475750 libclamav-dev_0.93~dfsg-1_i386.deb ef07cb89cb0b2133dd1d223910e0641fb1bcd22bd1a79c6d447699cc52278513 723926 clamav-dbg_0.93~dfsg-1_i386.deb Files: 1b248e00fe38e243b86e9c1650feaf57 1279 utils optional clamav_0.93~dfsg-1.dsc 112ed15d15bc91b6b6522e0a566718d4 16103173 utils optional clamav_0.93~dfsg.orig.tar.gz f83e3c3fc394383574f3cabfcb07d27b 155380 utils optional clamav_0.93~dfsg-1.diff.gz 7085aa23c71cf89ccdd9f9ed4d3f3baf 13811742 utils optional clamav-base_0.93~dfsg-1_all.deb ad6533750d0b39aaf59810c0ac8f7eb5 192868 utils optional clamav-testfiles_0.93~dfsg-1_all.deb 573f5032dfe8f643f355fa6dfbda6989 1047492 doc optional clamav-docs_0.93~dfsg-1_all.deb bf4175fec0ed364588f18a190ddc0b9c 461824 libs optional libclamav4_0.93~dfsg-1_i386.deb 8a18fc59e48c137c3fa405a3c60191ad 594414 utils optional clamav_0.93~dfsg-1_i386.deb ea44053458f90946b4ffebc177a39d7d 211240 utils optional clamav-daemon_0.93~dfsg-1_i386.deb 083c35a220fa56ae12ccbd3318fe220e 228826 utils optional clamav-freshclam_0.93~dfsg-1_i386.deb ad2a8af3cf9daee8f993f909838c9bba 212910 utils extra clamav-milter_0.93~dfsg-1_i386.deb ad0b9673adfe38cb8a2c6760414ba627 475750 libdevel optional libclamav-dev_0.93~dfsg-1_i386.deb 07edf0cbe19e142b4f540e8bce03261c 723926 utils extra clamav-dbg_0.93~dfsg-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIFl8WSYIMHOpZA44RAmyuAJ9uMnGRALFqWwtuGOcPgj7IwIeqlACeNzEF IuUhMkKeNIhMZLjGMR7dyDg= =kqGD -----END PGP SIGNATURE-----
--- End Message ---