Your message dated Wed, 25 May 2016 21:47:17 +0000
with message-id <[email protected]>
and subject line Bug#823074: fixed in clamav 0.99.2+dfsg-0+deb8u1
has caused the Debian Bug report #823074,
regarding clamav: Fix LSB init output
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.)


-- 
823074: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823074
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: clamav
Source-Version: 0.99.1+dfsg-1
Severity: wishlist
Tags: patch

Hi!

The attached patch fixes the LSB init script to have more consistent
output.

Thanks,
Guillem
From 6d1f9ade7178ee4012fc657b41e22e0f1c6dd03e Mon Sep 17 00:00:00 2001
From: Guillem Jover <[email protected]>
Date: Sat, 30 Apr 2016 15:29:02 +0200
Subject: [PATCH] clamav: Fix LSB init output

---
 debian/clamav-freshclam.init.in | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/debian/clamav-freshclam.init.in b/debian/clamav-freshclam.init.in
index 259e13d..0719e37 100644
--- a/debian/clamav-freshclam.init.in
+++ b/debian/clamav-freshclam.init.in
@@ -50,7 +50,6 @@ case "$1" in
   su "$DatabaseOwner" -p -s /bin/sh -c "freshclam -l $UpdateLogFile --datadir $DatabaseDirectory"
   ;;
   start)
-  log_daemon_msg "Starting $DESC" "$NAME"
   if [ ! -f "$PidFile" ]; then
     # If clamd is run under a different UID than freshclam then we need
     # to make sure the PidFile can be written or else we won't be able to
@@ -62,16 +61,16 @@ case "$1" in
   if [ -f /etc/cron.d/clamav-freshclam ]; then
     log_warning_msg "Not starting $NAME - cron option selected"
     log_warning_msg "Run the init script with the 'no-daemon' option"
-    log_end_msg 255
     # this is similar to the daemon already running
     exit 0
   fi
-  start-stop-daemon --start --oknodo -c "$DatabaseOwner" --exec $DAEMON --pidfile $PidFile -- -d --quiet --config-file=$FRESHCLAM_CONF_FILE --pid=$PidFile
+  log_daemon_msg "Starting $DESC" "$NAME"
+  start-stop-daemon --start --oknodo -c "$DatabaseOwner" --exec $DAEMON --pidfile $PidFile --quiet -- -d --quiet --config-file=$FRESHCLAM_CONF_FILE --pid=$PidFile
   log_end_msg $?
   ;;
   stop)
   log_daemon_msg "Stopping $DESC" "$NAME"
-  start-stop-daemon --stop --oknodo --name $NAME --pidfile $PidFile --retry TERM/30/KILL/5
+  start-stop-daemon --stop --oknodo --name $NAME --pidfile $PidFile --quiet --retry TERM/30/KILL/5
   log_end_msg $?
   ;;
   restart|force-reload)
@@ -79,14 +78,13 @@ case "$1" in
   $0 start
   ;;
   reload-log)
-  log_daemon_msg "Reloading $DESC" "$NAME"
   # If user wants it run from cron, we only accept no-daemon and stop
   if [ -f /etc/cron.d/clamav-freshclam ]; then
     log_warning_msg "Not reloading log for $NAME - cron option selected"
-    log_end_msg 255
     # log-reloading is not needed, because freshclam is not run as daemon
     exit 0
   fi
+  log_daemon_msg "Reloading $DESC" "$NAME"
   pkill -HUP -F $PidFile $NAME
   log_end_msg $?
   ;;
-- 
2.8.1


--- End Message ---
--- Begin Message ---
Source: clamav
Source-Version: 0.99.2+dfsg-0+deb8u1

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.

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.
Sebastian Andrzej Siewior <[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: SHA512

Format: 1.8
Date: Thu, 19 May 2016 18:37:56 +0200
Source: clamav
Binary: clamav-base clamav-docs clamav-dbg clamav libclamav-dev libclamav7 
clamav-daemon clamdscan clamav-testfiles clamav-freshclam clamav-milter
Architecture: source all
Version: 0.99.2+dfsg-0+deb8u1
Distribution: stable
Urgency: medium
Maintainer: ClamAV Team <[email protected]>
Changed-By: Sebastian Andrzej Siewior <[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
 clamdscan  - anti-virus utility for Unix - scanner client
 libclamav-dev - anti-virus utility for Unix - development files
 libclamav7 - anti-virus utility for Unix - library
Closes: 822444 823074 824485
Changes:
 clamav (0.99.2+dfsg-0+deb8u1) stable; urgency=medium
 .
   * Import new Upstream.
   * Drop AllowSupplementaryGroups option which is default now
     (Closes: #822444).
   * Let the LSB init script have more consistent output. Patch by Guillem
     Jover (Closes: #823074).
   * Ensure the users of PRIVATE symbols (clamd + freshclam) do not fall
     behind a upstream version (Closes: #824485).
   * also remove bytecode.cld on purge
Checksums-Sha1:
 586a1618e391f41fa45f3680fb4d9dc5d400c111 3124 clamav_0.99.2+dfsg-0+deb8u1.dsc
 b52737367372ddb80ed8d9b669540c3c6531baa2 5772404 clamav_0.99.2+dfsg.orig.tar.xz
 8ff714680f8477d64a62f2c2bbe0c64a1579cd52 245832 
clamav_0.99.2+dfsg-0+deb8u1.debian.tar.xz
 5b1b47ede4d8dbd82f4499e93fb7363b1a603758 293362 
clamav-base_0.99.2+dfsg-0+deb8u1_all.deb
 ca43b428be0d4a795916bf4a93cd9cef37b28135 1233160 
clamav-docs_0.99.2+dfsg-0+deb8u1_all.deb
 04210d602a5ac42e69f454a21f8c6a17bc6f8af8 3109404 
clamav-testfiles_0.99.2+dfsg-0+deb8u1_all.deb
Checksums-Sha256:
 9f74445c9543d74822892d458b392a26ebd078b75235bedbd99f27d5ae5915c7 3124 
clamav_0.99.2+dfsg-0+deb8u1.dsc
 be7e4a5229bd3782243c923581e30722276b2814cf586b93e47161619165d0aa 5772404 
clamav_0.99.2+dfsg.orig.tar.xz
 bfb66edc6a2c36b1781c9f791a4f64046ecb984680a87eb751858c58ed256e1c 245832 
clamav_0.99.2+dfsg-0+deb8u1.debian.tar.xz
 6fc1d9b33a411bb7e047892577ccce2bdc4890115b7a34ac3fe963dc4d1794ad 293362 
clamav-base_0.99.2+dfsg-0+deb8u1_all.deb
 80b54a68a2d2246d6a3da4b8c1f622c4e5b1b9fb738098cc4e0441880b0d15f6 1233160 
clamav-docs_0.99.2+dfsg-0+deb8u1_all.deb
 b7c8c48c40aa2571b2157d71551f491b4603eac6080d8a69751d967d9c83b6d4 3109404 
clamav-testfiles_0.99.2+dfsg-0+deb8u1_all.deb
Files:
 ba4f66d5086951db5b476bb800cd8da1 3124 utils optional 
clamav_0.99.2+dfsg-0+deb8u1.dsc
 228beb9d382fe2fa8d27f962b39b3040 5772404 utils optional 
clamav_0.99.2+dfsg.orig.tar.xz
 0ca7093650e7eaa28d85417a2a39204b 245832 utils optional 
clamav_0.99.2+dfsg-0+deb8u1.debian.tar.xz
 b24fdc6a07d60719fe6c5073f3f79408 293362 utils optional 
clamav-base_0.99.2+dfsg-0+deb8u1_all.deb
 b5fbbfa407c076832a0879349a1b4ee3 1233160 doc optional 
clamav-docs_0.99.2+dfsg-0+deb8u1_all.deb
 49f416122463b67b227ea8bc8a580e1d 3109404 utils optional 
clamav-testfiles_0.99.2+dfsg-0+deb8u1_all.deb

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

iQIcBAEBCgAGBQJXQ3JCAAoJEHuW6BYqjPXRu/gQAJxh9FClzTe9a0xOY/koyq7e
ZTUNr8S8N+kq5lMPjk9ikQVM5zJpsmGOtUtM0QoAcBct3fefrWg1AStPiYVMma1q
f9H9YvlUNLhIEywFo7gr/kle+rTBvby4bM5v03Pn6+YuPjR1973dLXHpM02ZohVp
LndqLxbh6YwQpbYxNj+GJaxlmicFThVUJjSvbdxJlW6j/qPlzwA2E40a6UVh5oeT
uJ/BG6mfBlcSEBuSuCtsUzJL1P2VFlu7OLw8wCTFlEHKKfne4DREQuoB45GiVUWY
sYTfD19clRZUtAtwgbg7ulHbPmeIeWGmHJ6t3xUAC6SWgFedyoPKIc3X2dq2/oXw
xke1Fex4SenS7k2XfTzmVLQcCq7BAqAq1uAz+ZFmb1Gjq/6+7Ur+0CpRDmytSQGI
HtW2c++Tvk70pqhGrlh1HApOp6nF1Tslqq88sf/A/MJxF4y4YhA5RMcoza5C42wn
GF0N4muY0CnhmvkRSnDdrF1dD4fUwkihja9rr5vnuWCu5vBu2oI8Wl6sN2xKYsNY
SkovVtJMeYeB1BSalK/yheguV5TSA/15NU49J42qnwPABse0FOSY18PO5fmdjpII
tXrididd8LlkGQW0Ank70DyVtprSeHndDTmYL2bGsKEIBkLRGE9W+WN1Q58o0v/C
7iiin8Qom3DvxohAUMXR
=jlES
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-clamav-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-clamav-devel

Reply via email to