Your message dated Mon, 02 Jun 2008 22:17:07 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#484170: fixed in clamav 0.93~dfsg-3
has caused the Debian Bug report #484170,
regarding bashism in init script
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.)


-- 
484170: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484170
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: clamav-daemon
Version: 0.93~dfsg-2
Severity: important
Tags: patch

Hi

init script fails to start clamav-deamon because is_true function does
not properly return error code when not using bash.

This can be fixed by changing

return $([ 'true' = "$lcvar" ] || [ 'yes' = "$lcvar" ] || [ 1 = "$lcvar" ])

to 

[ 'true' = "$lcvar" ] || [ 'yes' = "$lcvar" ] || [ 1 = "$lcvar" ]
return $?

PS: I'm not even sure that original code works with bash, as $() should
be replaced with output of commands inside and [ (test) command does not
have any output.

-- 
        Michal Čihař | http://cihar.com | http://blog.cihar.com

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-4-vserver-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages clamav-daemon depends on:
ii  clamav-base                  0.93~dfsg-2 anti-virus utility for Unix - base
ii  clamav-freshclam [clamav-dat 0.93~dfsg-2 anti-virus utility for Unix - viru
ii  libc6                        2.7-11      GNU C Library: Shared libraries
ii  libclamav4                   0.93~dfsg-2 anti-virus utility for Unix - libr
ii  lsb-base                     3.2-12      Linux Standard Base 3.2 init scrip
ii  ucf                          3.007       Update Configuration File: preserv

clamav-daemon recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: clamav
Source-Version: 0.93~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:

clamav-base_0.93~dfsg-3_all.deb
  to pool/main/c/clamav/clamav-base_0.93~dfsg-3_all.deb
clamav-daemon_0.93~dfsg-3_i386.deb
  to pool/main/c/clamav/clamav-daemon_0.93~dfsg-3_i386.deb
clamav-dbg_0.93~dfsg-3_i386.deb
  to pool/main/c/clamav/clamav-dbg_0.93~dfsg-3_i386.deb
clamav-docs_0.93~dfsg-3_all.deb
  to pool/main/c/clamav/clamav-docs_0.93~dfsg-3_all.deb
clamav-freshclam_0.93~dfsg-3_i386.deb
  to pool/main/c/clamav/clamav-freshclam_0.93~dfsg-3_i386.deb
clamav-milter_0.93~dfsg-3_i386.deb
  to pool/main/c/clamav/clamav-milter_0.93~dfsg-3_i386.deb
clamav-testfiles_0.93~dfsg-3_all.deb
  to pool/main/c/clamav/clamav-testfiles_0.93~dfsg-3_all.deb
clamav_0.93~dfsg-3.diff.gz
  to pool/main/c/clamav/clamav_0.93~dfsg-3.diff.gz
clamav_0.93~dfsg-3.dsc
  to pool/main/c/clamav/clamav_0.93~dfsg-3.dsc
clamav_0.93~dfsg-3_i386.deb
  to pool/main/c/clamav/clamav_0.93~dfsg-3_i386.deb
libclamav-dev_0.93~dfsg-3_i386.deb
  to pool/main/c/clamav/libclamav-dev_0.93~dfsg-3_i386.deb
libclamav4_0.93~dfsg-3_i386.deb
  to pool/main/c/clamav/libclamav4_0.93~dfsg-3_i386.deb



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.
Stephen Gran <[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: SHA1

Format: 1.8
Date: Mon, 02 Jun 2008 22:45:21 +0100
Source: clamav
Binary: clamav-base clamav-docs clamav-dbg clamav libclamav-dev libclamav4 
clamav-daemon clamav-testfiles clamav-freshclam clamav-milter
Architecture: source all i386
Version: 0.93~dfsg-3
Distribution: unstable
Urgency: low
Maintainer: Stephen Gran <[EMAIL PROTECTED]>
Changed-By: Stephen Gran <[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
 libclamav-dev - anti-virus utility for Unix - development files
 libclamav4 - anti-virus utility for Unix - library
Closes: 484170
Changes: 
 clamav (0.93~dfsg-3) unstable; urgency=low
 .
   * Make dash happy with use of return (closes: #484170)
Checksums-Sha1: 
 7e19b7cbe1c8409ca4d0f9592b8eaffc11e6cc17 1271 clamav_0.93~dfsg-3.dsc
 8def5f44df5ac7dbe790b0f91baaa50229b243be 156421 clamav_0.93~dfsg-3.diff.gz
 b6667544790af490180dfbe4dafd0debdf9bb1ec 13812314 
clamav-base_0.93~dfsg-3_all.deb
 2b6caf0f2c4bbaf2427d4c51d5b24b9dc1b33813 193096 
clamav-testfiles_0.93~dfsg-3_all.deb
 5bd4a93126e0e0a7d4f62ef858f7b27462a763a3 1047780 
clamav-docs_0.93~dfsg-3_all.deb
 66cf4993edd64b2276c688602492e2b1afc6f3f5 462154 libclamav4_0.93~dfsg-3_i386.deb
 c7fab1ff9f6b8f7ad3e7cd3e5be9796fd5a5c735 594704 clamav_0.93~dfsg-3_i386.deb
 6d942e65a176fd00a815f839df8fa2362ab75da9 211756 
clamav-daemon_0.93~dfsg-3_i386.deb
 7a25c18d07a241b080387f6c26315783b2f4a5f7 229406 
clamav-freshclam_0.93~dfsg-3_i386.deb
 edf8dd39909a330fbe0b436c5392952c788a6c67 213424 
clamav-milter_0.93~dfsg-3_i386.deb
 36a86ef5e4718452957e40a890eb33fedefec853 476030 
libclamav-dev_0.93~dfsg-3_i386.deb
 b3b408d0ed3455da2fa33d687e0db13ed1e98c02 724316 clamav-dbg_0.93~dfsg-3_i386.deb
Checksums-Sha256: 
 41c28c2496d0cdfdbd8805e7f0acfb1648d60b09be0556a7192295dbed5223e8 1271 
clamav_0.93~dfsg-3.dsc
 2c619caf9d60c41ba07d442f99fccc81cd5fac689d37ce8120d72602ef05b780 156421 
clamav_0.93~dfsg-3.diff.gz
 358201f7de05265a8ed745c49e8f0e6f455f6d92238f80695e682a8852fd0a8a 13812314 
clamav-base_0.93~dfsg-3_all.deb
 96c7b54442ba280896af0917a00482e70b85b5d362f827e54ff6cd4cad3192bf 193096 
clamav-testfiles_0.93~dfsg-3_all.deb
 935e6a89fdbccaf5eaeef28e23017236892e4cd9612893f1b3e2db231932cf9b 1047780 
clamav-docs_0.93~dfsg-3_all.deb
 2ea2735c986430a6c598c5ea0c44f6d21df210c62698528f07da41360a61f14d 462154 
libclamav4_0.93~dfsg-3_i386.deb
 e7fa9482876ffb2b5c371c823f06faaa913dc916cc402233d30592ac9bf9f685 594704 
clamav_0.93~dfsg-3_i386.deb
 b578148757cc9379b7bcc60a2b92f28389b7b4fd5543afeab2a78b1fcf1a734b 211756 
clamav-daemon_0.93~dfsg-3_i386.deb
 835b8c6ac7a2b0bd8a169dc8694d9bd60f6f83f3530f5d6c8e0bf16726e3de95 229406 
clamav-freshclam_0.93~dfsg-3_i386.deb
 0947e7aff5ac3978243a12c09a77dd60782cce9be6c3093900a5cb8c0c66e64e 213424 
clamav-milter_0.93~dfsg-3_i386.deb
 2db82eb5e4a7941e272c84fd6b5f669ba1963b079a7cc35dcad8be1352fdca13 476030 
libclamav-dev_0.93~dfsg-3_i386.deb
 49df8986e53abb208caa693fd6655f07fc321556a15770a3bb6da022fc7ef71b 724316 
clamav-dbg_0.93~dfsg-3_i386.deb
Files: 
 20ae2b2adc96c27ac42b78b732a688fb 1271 utils optional clamav_0.93~dfsg-3.dsc
 dcbb07fa9d2009e4fcd90942023a996f 156421 utils optional 
clamav_0.93~dfsg-3.diff.gz
 15b801ea3556ac23ddf0f744cd9cb4ba 13812314 utils optional 
clamav-base_0.93~dfsg-3_all.deb
 19fb965b98b2e19f1f0e46a74992b40e 193096 utils optional 
clamav-testfiles_0.93~dfsg-3_all.deb
 00efb2c1668b591ae587b98423dc0c45 1047780 doc optional 
clamav-docs_0.93~dfsg-3_all.deb
 eadcea17fc0c1eb5402bd5920af71072 462154 libs optional 
libclamav4_0.93~dfsg-3_i386.deb
 566ab795efbdec85aa552107c7c7590b 594704 utils optional 
clamav_0.93~dfsg-3_i386.deb
 a16e0357158d63797177f1b82ff8c97d 211756 utils optional 
clamav-daemon_0.93~dfsg-3_i386.deb
 1ef9bcb0037ccf402c6c4bb103c7a5db 229406 utils optional 
clamav-freshclam_0.93~dfsg-3_i386.deb
 df82f6ea17eb79e295857afa981886d6 213424 utils extra 
clamav-milter_0.93~dfsg-3_i386.deb
 6da2d80d2d6e6a64bec02501b7dba83c 476030 libdevel optional 
libclamav-dev_0.93~dfsg-3_i386.deb
 28195dd2a46d6e39c84f683fa0d3ffc8 724316 utils extra 
clamav-dbg_0.93~dfsg-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIRGqXSYIMHOpZA44RAsDNAJ9AnWZEGqVBSH5ilaxZNAYV+CxH5wCg2ST7
C0TMleQHErJHKOM8MlHGQh8=
=FIUr
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to