[Pkg-clamav-devel] Bug#816272: clamav-freshclam: logrotate errors out with "gzip: stdin: file size changed while zipping"
Christian Pernegger
pernegger at gmail.com
Mon Feb 29 11:02:51 UTC 2016
Package: clamav-freshclam
Version: 0.98.7+dfsg-0+deb8u1
Severity: normal
Hello,
since I've installed clamav-freshclam I get a weekly error message by
e-mail:
> From: Cron Daemon <pernegger at gmail.com>
> To: root at buddha.southpark.chp
> Subject: Cron <root at buddha> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
>
> /etc/cron.daily/logrotate:
> error: error running non-shared postrotate script for /var/log/clamav/freshclam.log of '/var/log/clamav/freshclam.log '
> gzip: stdin: file size changed while zipping
> run-parts: /etc/cron.daily/logrotate exited with return code 1
No configuration of clamav or freshclam has been done (yet), apart
from the debconf settings at the bottom of this mail.
Regards,
Christian Pernegger
-- Package-specific info:
--- configuration ---
# Automatically created by the clamav-freshclam postinst
# Comments will get lost when you reconfigure the clamav-freshclam package
DatabaseOwner clamav
UpdateLogFile /var/log/clamav/freshclam.log
LogVerbose false
LogSyslog false
LogFacility LOG_LOCAL6
LogFileMaxSize 0
LogRotate true
LogTime true
Foreground false
Debug false
MaxAttempts 5
DatabaseDirectory /var/lib/clamav
DNSDatabaseInfo current.cvd.clamav.net
AllowSupplementaryGroups false
ConnectTimeout 30
ReceiveTimeout 30
TestDatabases yes
ScriptedUpdates yes
CompressLocalDatabase no
SafeBrowsing false
Bytecode true
DatabaseMirror db.at.clamav.net
DatabaseMirror database.clamav.net
--- data dir ---
total 179504
-rw-r--r-- 1 clamav clamav 75879 Feb 10 18:20 bytecode.cvd
drwxr-xr-x 2 clamav clamav 4096 Feb 22 12:52 clamav-4d66ff37073e2760f1f527f86d9f6696.tmp
-rw-r--r-- 1 clamav clamav 119002112 Feb 28 12:46 daily.cld
-rw-r--r-- 1 clamav clamav 64720632 Feb 10 18:20 main.cvd
-rw------- 1 clamav clamav 104 Feb 29 00:46 mirrors.dat
-- System Information:
Debian Release: 8.3
APT prefers stable
APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages clamav-freshclam depends on:
ii clamav-base 0.98.7+dfsg-0+deb8u1
ii debconf [debconf-2.0] 1.5.56
ii dpkg 1.17.26
ii init-system-helpers 1.22
ii libc6 2.19-18+deb8u3
ii libclamav6 0.98.7+dfsg-0+deb8u1
ii libssl1.0.0 1.0.1k-3+deb8u2
ii logrotate 3.8.7-1+b1
ii lsb-base 4.1+Debian13+nmu1
ii procps 2:3.3.9-9
ii ucf 3.0030
ii zlib1g 1:1.2.8.dfsg-2+b1
clamav-freshclam recommends no packages.
Versions of packages clamav-freshclam suggests:
pn apparmor <none>
pn clamav-docs <none>
-- debconf information:
* clamav-freshclam/PrivateMirror:
* clamav-freshclam/LogRotate: true
* clamav-freshclam/Bytecode: true
* clamav-freshclam/NotifyClamd: false
* clamav-freshclam/SafeBrowsing: false
* clamav-freshclam/http_proxy:
clamav-freshclam/internet_interface:
* clamav-freshclam/local_mirror: db.at.clamav.net (Austria)
clamav-freshclam/proxy_user:
* clamav-freshclam/update_interval: 2
* clamav-freshclam/autoupdate_freshclam: cron
More information about the Pkg-clamav-devel
mailing list