Your message dated Sat, 07 May 2016 19:33:45 +0000
with message-id <e1az7yz-0002da...@franck.debian.org>
and subject line Bug#823074: fixed in clamav 0.99.2+dfsg-1
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 ow...@bugs.debian.org
immediately.)


-- 
823074: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823074
Debian Bug Tracking System
Contact ow...@bugs.debian.org 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 <guil...@debian.org>
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-1

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 823...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Andrzej Siewior <sebast...@breakpoint.cc> (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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 07 May 2016 20:39:36 +0200
Source: clamav
Binary: clamav-base clamav-docs clamav libclamav-dev libclamav7 clamav-daemon 
clamdscan clamav-testfiles clamav-freshclam clamav-milter
Architecture: source
Version: 0.99.2+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: ClamAV Team <pkg-clamav-devel@lists.alioth.debian.org>
Changed-By: Sebastian Andrzej Siewior <sebast...@breakpoint.cc>
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-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: 822445 823074
Changes:
 clamav (0.99.2+dfsg-1) unstable; urgency=medium
 .
   [ Sebastian Andrzej Siewior ]
   * also remove bytecode.cld on purge
   * Update to new upstream release 0.99.2
   * Drop AllowSupplementaryGroups option which is default now
     (Closes: #822445).
   * Let the LSB init script have more consistent output. Patch by Guillem
     Jover (Closes: #823074).
Checksums-Sha1:
 8fa5f8bd983784c1e278bacddf836d44e60a50f8 3031 clamav_0.99.2+dfsg-1.dsc
 b52737367372ddb80ed8d9b669540c3c6531baa2 5772404 clamav_0.99.2+dfsg.orig.tar.xz
 545b9fe757aaaed764edcee3b6e4c0136f2211ef 245796 
clamav_0.99.2+dfsg-1.debian.tar.xz
Checksums-Sha256:
 f1f43521f0fb0bc0c0bd38df52dd5110dc84e20bb81dffc1ad7ad5005075278a 3031 
clamav_0.99.2+dfsg-1.dsc
 be7e4a5229bd3782243c923581e30722276b2814cf586b93e47161619165d0aa 5772404 
clamav_0.99.2+dfsg.orig.tar.xz
 547e24e4e55dd248ddeef15e0028b70569630f6afacefbe32a1c46971454d834 245796 
clamav_0.99.2+dfsg-1.debian.tar.xz
Files:
 724a4af468cceec841136b5afb4068cb 3031 utils optional clamav_0.99.2+dfsg-1.dsc
 228beb9d382fe2fa8d27f962b39b3040 5772404 utils optional 
clamav_0.99.2+dfsg.orig.tar.xz
 9b51cbd9f99eae8418f5f85314303560 245796 utils optional 
clamav_0.99.2+dfsg-1.debian.tar.xz

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

iQIcBAEBCgAGBQJXLkAPAAoJEHuW6BYqjPXROIMP/3ZWMDVYFtSG0Rdoer/LwclL
0mAFvYdXq6NOijhQyYWLVzDOVH+WoGOQSFvPxBCBpXhy0If6L3bo7aLAatdJybO4
tBkaDtEsiALN9QobNG3SxE6za4Oi1LgJUcVwkGNwEls4lON9ZJD1shCS2HcZjno3
D/eseBotqcT8FCM+vf0ti3IinaPeViQDyZ7cvT73StDIRDfZob5X22mCm539Z9n7
RTlr/dBIMMp0IzR6wIxihLwknd1aUEeLjXvG48xaT7mp8laIT+p06YSlZ4T8ZnDy
h5lJw9Ed3pEinQCptCYung1f7C9qjacpwF+pEmFl26dcIDuH6ssQVF15VCxGdfLg
0JlfSDc8hqZFQsEmZguqE3NRSGOmhNyZhSHJv1/7fg2X2xGTTZwjr0uw7uWRaofl
AY7frMYfvjSJ0ZH9cL6LBXLZNoOy4kS8oYc7c6UPMY+DY3+2Qf0h+4iAHO1GfPQz
cIpMV2pBYbnnrRSikbzbxQI6HlAinC7UJ50GKq0bKaeI9gAr1d5BkOMjeNtN5cDX
D3rzXrNXfbtNAhVC2oEhNyhZd7EZuPU7C4UMPHtMTWNd8mnf1VT+Fc3AtaPOAFRc
v5dbUuVoHqtJXn3lB3S/ipIgq8dXn46581tLTtV0Sjh7cC85Ffqg+MVtLF8o2lNU
KCBew7e05vesnmNqqNlH
=An1r
-----END PGP SIGNATURE-----

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

Reply via email to