Your message dated Fri, 14 Aug 2015 12:34:00 +0000
with message-id <[email protected]>
and subject line Bug#788652: fixed in clamav 0.98.7+dfsg-3
has caused the Debian Bug report #788652,
regarding Logrotate fails if clamav-freshclam is not running as a daemon under
systemd
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.)
--
788652: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788652
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: clamav-freshclam
Version: 0.98.7+dfsg-0+deb8u1
Dear maintainer,
Thanks for packaging ClamAV for Debian! There is a problem,
however, with the file /etc/logrotate.d/clamav-freshclam under
systemd: it fails if clamav-freshclam is not running as a daemon
(such as being run via a cron job, as is the case on my system).
In particular, if the daemon is not active, "systemctl -q is-active"
returns an error value of 3, which causes the script to fail.
The solution is to add "|| :" to the end of that line. The attached
patch does exactly that. Could you please apply it.
I'm guessing systemd is still new to all of us---certainly to me!
Yours truly,
John Zaitseff
--
John Zaitseff ,--_|\ The ZAP Group
Phone: +61 2 9643 7737 / \ Sydney, Australia
E-mail: [email protected] \_,--._* http://www.zap.org.au/
v
--- /etc/logrotate.d/clamav-freshclam.orig 2015-06-09 10:55:58.597662646 +1000
+++ /etc/logrotate.d/clamav-freshclam 2015-06-14 05:35:30.653954361 +1000
@@ -7,7 +7,7 @@
create 640 clamav adm
postrotate
if [ -d /run/systemd/system ]; then
- systemctl -q is-active clamav-freshclam && systemctl kill --signal=SIGHUP clamav-freshclam
+ systemctl -q is-active clamav-freshclam && systemctl kill --signal=SIGHUP clamav-freshclam || :
else
/etc/init.d/clamav-freshclam reload-log > /dev/null
fi
--- End Message ---
--- Begin Message ---
Source: clamav
Source-Version: 0.98.7+dfsg-3
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.
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.
Sebastian Andrzej Siewior <[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: SHA512
Format: 1.8
Date: Fri, 14 Aug 2015 08:55:16 +0200
Source: clamav
Binary: clamav-base clamav-docs clamav-dbg clamav libclamav-dev libclamav6
clamav-daemon clamdscan clamav-testfiles clamav-freshclam clamav-milter
Architecture: source all
Version: 0.98.7+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: ClamAV Team <[email protected]>
Changed-By: Sebastian Andrzej Siewior <[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
clamdscan - anti-virus utility for Unix - scanner client
libclamav-dev - anti-virus utility for Unix - development files
libclamav6 - anti-virus utility for Unix - library
Closes: 788652
Changes:
clamav (0.98.7+dfsg-3) unstable; urgency=medium
.
[ Sebastian Andrzej Siewior ]
* use T=<timeout> so we can drop
unit_tests-increment-test-timeout-from-40secs-to-5mi from the patch queue.
* add 0013-tfm-fix-compile-errors.patch and
0014-tfm-duct-tape-misscompile-on-armhf.patch to get it built on armhf
with gcc-5.
.
[ Andreas Cadhalpun ]
* Prevent the logrotate scripts from aborting if reloading/restarting fails.
Thanks to John Zaitseff. (Closes: #788652)
Checksums-Sha1:
1a89e5b04b158296d5d20fac5b0669f5e259bcb1 3075 clamav_0.98.7+dfsg-3.dsc
083f89917dd37421304de4d40ff1a8b7a3bdf050 243928
clamav_0.98.7+dfsg-3.debian.tar.xz
73f4a3aa53e6b6a86367c557b69f20001575990a 283124
clamav-base_0.98.7+dfsg-3_all.deb
67621540a84ebaccd0e824ceee94e1069555cf5f 883738
clamav-docs_0.98.7+dfsg-3_all.deb
42e59b693dae817d4ce780d8b35c32928bced7eb 3099320
clamav-testfiles_0.98.7+dfsg-3_all.deb
Checksums-Sha256:
2d9e1638d2895acc2f2279446aec38c242780cf8c83c4d3d94506decbeea4eec 3075
clamav_0.98.7+dfsg-3.dsc
316056f4e797b0869437ed314c268f1f7d6a6da095d84e687ed75e5e5b3bcd45 243928
clamav_0.98.7+dfsg-3.debian.tar.xz
36cb9ed2fa5beb0078086e52b95d5146f0d6aa973ccc672899d1b2e98ea2e4e7 283124
clamav-base_0.98.7+dfsg-3_all.deb
0d6002fc16ef40e8bd3ed553afabde76b8121b1913dcb679c2f310bdd728a09a 883738
clamav-docs_0.98.7+dfsg-3_all.deb
f2cbfe172b61c4ff6abab3023a5977bb848fcdfcb5d941f448f74a8167794125 3099320
clamav-testfiles_0.98.7+dfsg-3_all.deb
Files:
835bc9121ae87797323fdeab690a3dd3 3075 utils optional clamav_0.98.7+dfsg-3.dsc
44a1281fd70f8c07b0abda97b29aeef2 243928 utils optional
clamav_0.98.7+dfsg-3.debian.tar.xz
302b147c227ffce77469d1288a8757f2 283124 utils optional
clamav-base_0.98.7+dfsg-3_all.deb
bca78ee10e6e3ab8337d03473b0cc309 883738 doc optional
clamav-docs_0.98.7+dfsg-3_all.deb
d61f91b37a8bbda2be401e7a1eee7e4e 3099320 utils optional
clamav-testfiles_0.98.7+dfsg-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJVzdvmAAoJEHuW6BYqjPXRTkkQAJls/bTxGtl0L0S7WO0usPIU
2nv9m4g1B+qGrK2U0zwvjLoIR8Gn+Pkv1b9jUiZ5F6kXKzN597mnr8PBe8XjEps4
QjLmF0Xyyj+xy1wd4WyA3q+54C7ZGLo2raKqd7J0uJMH9DLthStC+h8TzbPrZZbm
aoO9XBzZrFVxTm+HsQ3iP729eA9Ti4WYs8JqwdT9GxZc/VLS28O6823/jz3BFKmj
5AjTrPyOT7H5/XQS/n4Q+ndz2soGL0eCYmZSSkwy1hj0MMZWWD3gBuk3wdYYM4eK
sHcXdWjzknQIaxTfzJkZkEbfVNzvgggVLF693vBm2y41bz61Z1GsW8GI0LonD3ZF
7tuhAAmhCTSFwevw6Bw4LelvTWck2K6ZzHPhQa84tDR/v7xVcLoizV2ij7f9KXnP
ugncHQ4FgVVtnwTz+e220jDI+Vb3M6ey6MbajfCVvmn5MkvkmiiST2GGYDW4KHOa
Q5An2j0TzN/5ioqDx0SONoXXRmyqtsFC0TIfYCx2XxN8c6BB0Y02PRSwhIXZV7fu
Q+vpq/DApSieZBPQp2pbXFJW+8mE9jaYIPQOfQcffU3hKyY9dZ6NJwAOezZQ5G7p
Nr6QRHdjuPPb6R1vhtK8vRRxhh+KYsk4Uq2wXdwi3CdhTJsGMz1awzI4VNWVYjfT
avz6ZCxXBZsun/SogcWW
=/Tyn
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-clamav-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-clamav-devel