Bug#578778: Failure when using dansguardian -r or dansguardian -g to reload configuration

2010-10-02 Thread Tristan Hill
On Thu, 22 Apr 2010 18:36:21 +0200, Raphael Manfredi wrote:
 dansguardian[727]: Content scanner plugin init returned error value:
 -1
 dansguardian[727]: Error loading CS plugins
 dansguardian[727]: Error re-parsing the dansguardian.conf file or
 other DansGuardian configuration files

I get this when reloading, but only with the clamav contentscanner
enabled.

Stracing shows:
write(2, bytecode_init: already initialized, 34) = 34
which looks like libclamav complaining that cl_init has been called
twice.

Upstream seem to be pushing the clamdscan contentscanner as a
replacement - contentscanners/clamav.cpp has been removed on trunk and
http://tech.groups.yahoo.com/group/dansguardian/message/22427
http://tech.groups.yahoo.com/group/dansguardian/message/22086

Note clamdscan isn't enabled in the standard lenny package -
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533024




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#578778: Failure when using dansguardian -r or dansguardian -g to reload configuration

2010-04-22 Thread Raphael Manfredi
Package: dansguardian
Version: 2.10.1.1-1
Severity: important

It is not possible to reload dansguardian dynamically (under the dansguardian
UID) by launching dansguardian -r or dansguardian -g.  Both calls end-up
killing dansguardian altogether, with the following errors in syslog:

dansguardian[727]: Content scanner plugin init returned error value: -1
dansguardian[727]: Error loading CS plugins
dansguardian[727]: Error re-parsing the dansguardian.conf file or other 
DansGuardian configuration files

There are no errors during the initial startup, which suggests a bug in the
dansguardian reloading mechanism and should probably be forwarded upstream.

Unfortunately, restarting dansguardian via:

/etc/init.d/dansguardian start

requires root privileges due to the creation of /var/run/dansguardian.pid.

Therefore, the user dansguardian has no way to automatically update the
blacklists without requiring root privileges to restart the process.

And restarting from scratch is disrupting for users as opposed to reloading,
hence the severity of important.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.33.2
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages dansguardian depends on:
ii  adduser3.110 add and remove users and groups
ii  clamav 0.96+dfsg-1   anti-virus utility for Unix - comm
ii  libbz2-1.0 1.0.2-1   A high-quality block-sorting file 
ii  libc6  2.10.2-6  Embedded GNU C Library: Shared lib
ii  libclamav6 0.96+dfsg-1   anti-virus utility for Unix - libr
ii  libgcc11:4.4.3-9 GCC support library
ii  libpcre3   7.8-2+b1  Perl 5 Compatible Regular Expressi
ii  libstdc++6 4.4.3-9   The GNU Standard C++ Library v3
ii  libtommath00.39-3multiple-precision integer library
ii  perl   5.10.1-12 Larry Wall's Practical Extraction 
ii  zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime

dansguardian recommends no packages.

Versions of packages dansguardian suggests:
ii  clamav-freshclam   0.96+dfsg-1   anti-virus utility for Unix - viru
ii  squid  2.7.STABLE9-2 Internet object cache (WWW proxy c

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org