Your message dated Sat, 12 Apr 2014 09:19:06 +0000
with message-id <[email protected]>
and subject line Bug#743202: fixed in c-icap 1:0.3.3-2
has caused the Debian Bug report #743202,
regarding c-icap: /etc/init.d/c-icap does not work if there's an option in 
c-icap.conf with a dot
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.)


-- 
743202: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743202
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: c-icap
Version: 1:0.3.3-0gaio1
Severity: important

I've recompiled c-icap in wheezy, without further modification.

I've also compiled and i'm using 'squidclamav', and i've hit a little
trouble (too verbose log), that squidclamav author say me to insert in
c-icap.conf, right after the squidclamav module load, the entry:

        squidclamav.PreviewSize 1024

but when i tried to restart the service i got:

        root@lupus:~# /etc/init.d/c-icap start
        /etc/init.d/c-icap: 65: export: config_squidclamav.PreviewSize: bad 
variable name

After fiddling a bit, i've understood that the trouble came from the
/etc/init.d/c-icap script, that try to export some variables bult from
c-icap.conf file, and fail with the new one (presumibly for the dot).

I've done a simple modification to the script:

root@lupus:~# diff -ud /etc/init.d/c-icap~ /etc/init.d/c-icap
--- /etc/init.d/c-icap~ 2014-03-12 08:07:27.000000000 +0100
+++ /etc/init.d/c-icap  2014-03-31 14:40:57.000000000 +0200
@@ -58,7 +58,7 @@
        config_Group=c-icap
 
        if [ -f "$CONFFILE" ]; then
-               for variable in `egrep -v '^[[:space:]]*(#|$)' "$CONFFILE" | 
awk '{print $1}'`; do
+               for variable in `egrep -v '^[[:space:]]*(#|$)' "$CONFFILE" | 
awk '{print $1}' | egrep -v '\.'`; do
                        value=`grep ^$variable $CONFFILE | head -n1 | awk 
'{print $2}'`
 
                        if [ -n "$value" ]; then

and clearly now works, but i don't know if there's a better way...


More info on:

        https://github.com/darold/squidclamav/issues/17


Thanks.

-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages c-icap depends on:
ii  adduser      3.113+nmu3
ii  libc6        2.13-38+deb7u1
ii  libdb5.1     5.1.29-5
ii  libicapapi3  1:0.3.3-0gaio1
ii  lsb-base     4.1+Debian8+deb7u1

c-icap recommends no packages.

Versions of packages c-icap suggests:
pn  libc-icap-module  <none>
ii  squid3            3.1.20-2.2

-- Configuration Files:
/etc/c-icap/c-icap.conf changed [not included]
/etc/default/c-icap changed [not included]
/etc/init.d/c-icap changed [not included]

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: c-icap
Source-Version: 1:0.3.3-2

We believe that the bug you reported is fixed in the latest version of
c-icap, 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.
Mathieu Parent <[email protected]> (supplier of updated c-icap 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: SHA256

Format: 1.8
Date: Sat, 12 Apr 2014 09:53:03 +0200
Source: c-icap
Binary: c-icap libicapapi3 libicapapi-dev libicapapi3-dbg
Architecture: source i386
Version: 1:0.3.3-2
Distribution: unstable
Urgency: medium
Maintainer: Tim Weippert <[email protected]>
Changed-By: Mathieu Parent <[email protected]>
Description: 
 c-icap     - ICAP server implementation
 libicapapi-dev - ICAP API library development files
 libicapapi3 - ICAP API library
 libicapapi3-dbg - ICAP API library debug symbols
Closes: 743202
Changes: 
 c-icap (1:0.3.3-2) unstable; urgency=medium
 .
   * Harden config parsing in init script (Closes: #743202)
Checksums-Sha1: 
 4cb81ef166a1a302f223bf4903cd0ab075e0726e 1952 c-icap_0.3.3-2.dsc
 be94c781834d2cebcdf7563209bac37c49eee9a3 10408 c-icap_0.3.3-2.debian.tar.xz
 194652ee9cca957974fdc70a5b89fc8b162b2f54 84296 c-icap_0.3.3-2_i386.deb
 9aba4524b38d5ac0204b5609005066da83ff67f9 68982 libicapapi3_0.3.3-2_i386.deb
 73b114554ae652156eed66bf1642308f6d68783d 32914 libicapapi-dev_0.3.3-2_i386.deb
 83af70fc5b4013d1283352fcb3fc50b41a8be53f 358784 
libicapapi3-dbg_0.3.3-2_i386.deb
Checksums-Sha256: 
 84e2c81fdd09206f3a578de4e3dde0b9b2fa8233c72b3c1f728d63f1c134092a 1952 
c-icap_0.3.3-2.dsc
 f684de5f3a3dc2801d82b897d2e2621c3ce47067616eacc1a9dbe64012fe374b 10408 
c-icap_0.3.3-2.debian.tar.xz
 69e920ca4a3b3fc2b35cba0e8e28f5a27c5d39499219d0697864bceed99bf1ac 84296 
c-icap_0.3.3-2_i386.deb
 e1467295dd1deadb2852c6bd4152a47bb416fb1d293cc7e2d29dd8981fc8f3a1 68982 
libicapapi3_0.3.3-2_i386.deb
 b2ac31470881f262faf6b96dca008c20527f5039942f082bd9a7df7a16d97250 32914 
libicapapi-dev_0.3.3-2_i386.deb
 912c360d589153dd4e47fcaaeea7add56e7c4a5c0772e357e89fa6e9382cd085 358784 
libicapapi3-dbg_0.3.3-2_i386.deb
Files: 
 1e598aa5841a071dd778360ac6ae1f68 1952 net extra c-icap_0.3.3-2.dsc
 3c610cc83ba11971018cdc1575780069 10408 net extra c-icap_0.3.3-2.debian.tar.xz
 169afa1e9c92de714907b507b56725db 84296 net extra c-icap_0.3.3-2_i386.deb
 d0ead43c5b5055026df86813f04f301e 68982 net extra libicapapi3_0.3.3-2_i386.deb
 cb25838ed00bc215bddf08a99c9124cb 32914 libdevel extra 
libicapapi-dev_0.3.3-2_i386.deb
 59cc3196d138bf6cdfc9102b3ba304ef 358784 debug extra 
libicapapi3-dbg_0.3.3-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJTSPMOAAoJEKfHKhx4K4w/y7sQALzXynVk+LMDxmMyk622DpMR
AJzB9wcYeNzqqo8Yvbs05QF2CzKiCPdGL3btiL2DcDjx0C8WOty645qPHmBB/hSR
ReAPyvsTZKaexukcG/wALFGFrKkgd0CtyDWUXamIQtZFz4ycl82Veq80DfGYdZO4
M6++htilUyWcD9VuqNhKvTKHW0N9xKhwBKJCn/hxZyy8t3/zKuOZtwQUEpuq8K/1
APUdYt+YAtCYQ0xhctcb0MniJRw3UeQzgdEYb6Se6OE4J+Kmt6cGrZs3SIlEjvJH
3wm5vg2LxpEIG2QP+3/M10rern+A+PSikvkXlDJM2MHgih1DPKb46P1sC8YPYPsN
ZqqFkwVdhBGqGvVnRYtuL7b3LQdi2Gkog0VV7TSxNnaz0jOoU3QFcXFrL3lC1GlF
rj/oWf+Geroz5Fl9cSKvDwVWm71l8DkeW0Q1MEe2aQeGZ99X/DlBzeWsCMnCQRnh
q4D+a2ceilXC9eb7tTPOwL0EnhtY7tshSfeQGCYTknsbETStP4KBlhPDuBs3pDoL
KG6hPEM47f0zIRvZyl4WddctLPbKg8+/7w9ajdkfDRNXKbn2tPJosfOzM0Rcg52T
yFNVSqdKGo9KZiJ7qr0/Q+MpXeRO2s7fFAlfNU8AqV4Qx8MGCXISd2WgILYQ7vGs
zQg7zEvnBs16qA8LxFcD
=caAX
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to