Bug#325512: clamav-freshclam: Failed stop for init-script

2005-08-28 Thread Alexander Mader
Package: clamav-freshclam
Version: 0.85.1-2
Severity: normal
Tags: patch

Hello,

first of all: Thank you very much for maintaining clamav(-freshclam) for
debian!

For a while, clamav-freshclam is failing with
"/etc/init.d/clamav-freshclam stop".

I tried sending signals different from TERM, succeded with QUIT, and
changed the init-script accordingly; please, see diff below.

Best regards,

Alexander.

*** clamav-freshclam.debian Mon Aug 29 07:31:14 2005
--- clamav-freshclamMon Aug 29 07:32:30 2005
***
*** 5,10 
--- 5,11 
  DAEMON=/usr/bin/freshclam
  NAME=freshclam
  DESC="ClamAV virus database updater"
+ SIG=QUIT
  [ -x $DAEMON ] || exit 0
  
  CLAMAV_CONF_FILE=/etc/clamav/clamd.conf
***
*** 163,169 
;;
stop)
echo -n "Stopping $DESC: "
!   start-stop-daemon -o -K -q -p $PIDFILE $DAEMON
if [ -n "$PID" ]; then
  sleep 1
  if kill -0 "$PID" 2>/dev/null; then
--- 164,170 
;;
stop)
echo -n "Stopping $DESC: "
!   start-stop-daemon -o -s $SIG -K -q -p $PIDFILE $DAEMON
if [ -n "$PID" ]; then
  sleep 1
  if kill -0 "$PID" 2>/dev/null; then

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.11-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages clamav-freshclam depends on:
ii  clamav-base 0.85.1-2 base package for clamav, an anti-v
ii  debconf [debconf-2.0]   1.4.57   Debian configuration management sy
ii  debianutils 2.14.1   Miscellaneous utilities specific t
ii  libbz2-1.0  1.0.2-8  high-quality block-sorting file co
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libclamav1  0.85.1-2 virus scanner library
ii  libcurl37.14.0-2 Multi-protocol file transfer libra
ii  libgmp3 4.1.4-6  Multiprecision arithmetic library
ii  libidn110.5.18-1 GNU libidn library, implementation
ii  libssl0.9.7 0.9.7e-3 SSL shared libraries
ii  logrotate   3.7-5Log rotation utility
ii  ucf 2.001Update Configuration File: preserv
ii  zlib1g  1:1.2.2-4compression library - runtime

clamav-freshclam recommends no packages.

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#325512: clamav-freshclam: Failed stop for init-script

2005-09-19 Thread Stephen Gran
This one time, at band camp, Alexander Mader said:
> Hello,
> 
> first of all: Thank you very much for maintaining clamav(-freshclam) for
> debian!
> 
> For a while, clamav-freshclam is failing with
> "/etc/init.d/clamav-freshclam stop".
> 
> I tried sending signals different from TERM, succeded with QUIT, and
> changed the init-script accordingly; please, see diff below.

Can you try 0.87-1 and let me know if you are still having this
problem?  I have revamped the init scripts to use lsb functions since
then, and it may have better kill handling.

Thanks,
-- 
 -
|   ,''`.Stephen Gran |
|  : :' :[EMAIL PROTECTED] |
|  `. `'Debian user, admin, and developer |
|`- http://www.debian.org |
 -


signature.asc
Description: Digital signature


Bug#325512: clamav-freshclam: Failed stop for init-script

2005-09-19 Thread Mader, Alexander
Stephen Gran schrieb:
> Can you try 0.87-1 and let me know if you are still having this
> problem?  I have revamped the init scripts to use lsb functions since
> then, and it may have better kill handling.

Hello Stephen,

many thanks for your email. I didn't find a 0.87-1-deb that fast and so
I tried 0.87-0volatile1 and and after purge followed by install the
start-stop-thing is working without any problems so far. Which is a
little bit disturbing for me as there are no differences in the
/etc/init.d/clamav-freshclam to the one I made the changes to! I did
some system updates meanwhile---could this change the behaviour?

Best regards,

Alexander.
-- 
Alexander Mader <[EMAIL PROTECTED]> Fon: +49-30-93033-636
NILES Werkzeugmaschinen GmbHFax: +49-30-93033-603
www.niles.de
GPG public key: http://mader.seppi.de/pubkey-dienst.asc


smime.p7s
Description: S/MIME Cryptographic Signature