Bug#905044: clamav-daemon: Infinite loop at dpkg-reconfigure

2018-08-08 Thread Santiago Ruano Rincón
Control: tags -1 + patch
Control: found -1 0.100.0+dfsg-0+deb8u1

On Tue, 31 Jul 2018 00:19:39 +0200 =?UTF-8?Q?Christian_Schr=c3=b6tter?= 
 wrote:
> Package: clamav-daemon
> Version: 0.100.1+dfsg-1
> Severity: serious
> 
> Dear Maintainer,
> 
> there's an infinite loop at:
> 
> > dpkg-reconfigure clamav-daemon
> 
> Everything on default values I'm stuck at these two questions:
> 
> * ZIP files larger than this value […]: 1M
> * During the SelfCheck the daemon […]: 3600
> 
> They are displayed in an infinite loop. There's no way to finish all
> questions.

Hello,

The attached patch fixes the issue. I will upload a clamav package to
jessie including this.

Cheers,

S
From e91436719d438f3107a39e0d77553c2e7450b79b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Santiago=20Ruano=20Rinc=C3=B3n?= 
Date: Wed, 8 Aug 2018 20:10:35 +0200
Subject: [PATCH] debian/clamav-daemon.config.in: fix infinite loop after
 SelfCheck state
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Closes: #905044
Signed-off-by: Santiago Ruano Rincón 
---
 debian/clamav-daemon.config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/clamav-daemon.config.in b/debian/clamav-daemon.config.in
index 597cc84..60bef89 100644
--- a/debian/clamav-daemon.config.in
+++ b/debian/clamav-daemon.config.in
@@ -363,7 +363,7 @@ while [ "$STATE" != "End" ]; do
 StateGeneric low clamav-daemon/MaxZipTypeRcg SelfCheck MaxScriptNormalize
 ;;
 "SelfCheck")
-StateGeneric low clamav-daemon/SelfCheck MaxZipTypeRcg
+StateGeneric low clamav-daemon/SelfCheck User MaxZipTypeRcg
 ;;
 "User")
 StateUser
-- 
2.18.0



signature.asc
Description: PGP signature


Bug#905044: clamav-daemon: Infinite loop at dpkg-reconfigure

2018-07-30 Thread Christian Schrötter
Package: clamav-daemon
Version: 0.100.1+dfsg-1
Severity: serious

Dear Maintainer,

there's an infinite loop at:

> dpkg-reconfigure clamav-daemon

Everything on default values I'm stuck at these two questions:

* ZIP files larger than this value […]: 1M
* During the SelfCheck the daemon […]: 3600

They are displayed in an infinite loop. There's no way to finish all
questions.

-- 
Regards,
Christian