[Pkg-clamav-devel] Bug#950296: noninteractive loop
Cash
cashwilliams at gmail.com
Fri Jan 31 04:45:51 GMT 2020
Works when LogFile is set to `none`
root at 7f0bd3ca0e58:~# cat /etc/clamav/clamd.conf | grep LogFile
LogFile none
LogFileUnlock false
LogFileMaxSize 0
root at 7f0bd3ca0e58:~# time DEBIAN_FRONTEND=noninteractive
DEBCONF_NONINTERACTIVE_SEEN=true dpkg-reconfigure clamav-daemon
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of restart.
real 0m0.949s
user 0m0.260s
sys 0m0.030s
However, when logfile is populated, dpkg-reconfigure hangs forever, here I
^C after 30 seconds.
root at 7f0bd3ca0e58:~# cat /etc/clamav/clamd.conf | grep LogFile
LogFile /var/log/clamav/clamav.log
LogFileUnlock false
LogFileMaxSize 0
root at 7f0bd3ca0e58:~# time DEBIAN_FRONTEND=noninteractive
DEBCONF_NONINTERACTIVE_SEEN=true dpkg-reconfigure clamav-daemon
^C
real 0m34.909s
user 0m23.450s
sys 0m9.110s
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-clamav-devel/attachments/20200130/4e00171f/attachment.html>
More information about the Pkg-clamav-devel
mailing list