Bug#581877: warn: logger: failed to add syslog method: logger: syslog initialization failed

2010-05-17 Thread Noah Meyerhans
On Mon, May 17, 2010 at 08:39:03AM +1200, Francois Marier wrote:
 I've got a cronjob which does this every night:
 
   0 5 * * *   root/etc/init.d/spamassassin restart  /dev/null
 
 For a few days now (possibly related to a new cron or syslog), It has started
 outputting this error message:
 
   From: Cron Daemon r...@hostname
   To: r...@hostname
   Subject: Cron r...@hostname /etc/init.d/spamassassin restart  /dev/null
 
   May 17 05:00:04.459 [26971] warn: logger: failed to add syslog method: 
 logger: syslog initialization failed
 
 The same thing happens when I restart spamassassin manually on the command
 line. I'm guessing something isn't quite right in the init script...

Hi Francois.  I'm not able to reproduce this with the current
spamassassin packages on an up-to-date sid system:

lamneth:~$ sudo /etc/init.d/spamassassin restart
Restarting SpamAssassin Mail Filter Daemon: spamd.
lamneth:~$

If the message in question is coming from logger(1) from the bsdutils
package, which it looks like it is, then I don't think it's spamassassin
that's doing it, since spamassassin doesn't use logger.

Do your /etc/init.d/spamassassin and /etc/default/spamassassin files
differ from those included with the package?  (Find them at [1] and [2])

noah

[1]
http://svn.debian.org/viewsvn/collab-maint/deb-maint/spamassassin/tags/3.3.1-1/debian/spamassassin.default?revision=15843

[2]
http://svn.debian.org/viewsvn/collab-maint/deb-maint/spamassassin/tags/3.3.1-1/debian/spamassassin.init?revision=15843



signature.asc
Description: Digital signature


Bug#581877: warn: logger: failed to add syslog method: logger: syslog initialization failed

2010-05-17 Thread Francois Marier
On 2010-05-17 at 02:12:02, Noah Meyerhans wrote:
 Hi Francois.  I'm not able to reproduce this with the current
 spamassassin packages on an up-to-date sid system:

 lamneth:~$ sudo /etc/init.d/spamassassin restart
 Restarting SpamAssassin Mail Filter Daemon: spamd.
 lamneth:~$

Hmm, I wonder what's different on my system...

 If the message in question is coming from logger(1) from the bsdutils
 package, which it looks like it is, then I don't think it's spamassassin
 that's doing it, since spamassassin doesn't use logger.

Could it have something to do with the fact that I'm using rsyslog instead
of syslog?

 Do your /etc/init.d/spamassassin and /etc/default/spamassassin files
 differ from those included with the package?  (Find them at [1] and [2])

The only difference is that I've got ENABLED=1 in /etc/default/spamassassin.

Cheers,
Francois

-- 
Francois Marier identi.ca/fmarier
http://feeding.cloud.geek.nz  twitter.com/fmarier



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



Bug#581877: warn: logger: failed to add syslog method: logger: syslog initialization failed

2010-05-16 Thread Francois Marier
Package: spamassassin
Version: 3.3.1-1
Severity: normal

I've got a cronjob which does this every night:

  0 5 * * *   root/etc/init.d/spamassassin restart  /dev/null

For a few days now (possibly related to a new cron or syslog), It has started
outputting this error message:

  From: Cron Daemon r...@hostname
  To: r...@hostname
  Subject: Cron r...@hostname /etc/init.d/spamassassin restart  /dev/null

  May 17 05:00:04.459 [26971] warn: logger: failed to add syslog method: 
logger: syslog initialization failed

The same thing happens when I restart spamassassin manually on the command
line. I'm guessing something isn't quite right in the init script...

Cheers,
Francois

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

Kernel: Linux 2.6.33.4-grsec (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages spamassassin depends on:
pn  libarchive-tar-perl none   (no description available)
ii  libdigest-sha1-perl 2.12-1   NIST SHA-1 message digest algorith
ii  libhtml-parser-perl 3.65-1   collection of modules that parse H
ii  libnet-dns-perl 0.66-2   Perform DNS queries from a Perl sc
ii  libnetaddr-ip-perl  4.024+dfsg-1 IP address manipulation module
ii  libsocket6-perl 0.23-1   Perl extensions for IPv6
ii  libsys-hostname-long-perl   1.4-2Figure out the long (fully-qualifi
ii  libwww-perl 5.835-1  Perl HTTP/WWW client/server librar
ii  perl5.10.1-12Larry Wall's Practical Extraction 
ii  perl-modules [libio-zlib-pe 5.10.1-12Core Perl modules

Versions of packages spamassassin recommends:
ii  gcc   4:4.4.3-1  The GNU C compiler
ii  gnupg 1.4.10-3   GNU privacy guard - a free PGP rep
ii  libc6-dev 2.10.2-8   Embedded GNU C Library: Developmen
pn  libio-socket-inet6-perl   none (no description available)
ii  libmail-spf-perl  2.007-1Perl implementation of Sender Poli
ii  libsys-syslog-perl0.27-1 Perl interface to the UNIX syslog(
ii  make  3.81-8 An utility for Directing compilati
ii  perl [libsys-syslog-perl] 5.10.1-12  Larry Wall's Practical Extraction 
ii  re2c  0.13.5-1   tool for generating fast C-based r
ii  spamc 3.3.1-1Client for SpamAssassin spam filte

Versions of packages spamassassin suggests:
ii  libcompress-zlib-perl 2.024-1Transitional dummy package for Com
ii  libdbi-perl   1.611-1Perl Database Interface (DBI)
ii  libio-compress-perl [libcompr 2.024-1bundle of IO::Compress modules
ii  libio-socket-ssl-perl 1.33-1 Perl module implementing object or
ii  libmail-dkim-perl 0.37-1 cryptographically identify the sen
ii  libnet-ident-perl 1.20-5 lookup the username on the remote 
ii  perl [libcompress-zlib-perl]  5.10.1-12  Larry Wall's Practical Extraction 
ii  pyzor 1:0.5.0-2  spam-catcher using a collaborative
ii  razor 1:2.85-3   spam-catcher using a collaborative

-- Configuration Files:
/etc/default/spamassassin changed [not included]
/etc/spamassassin/local.cf changed [not included]
/etc/spamassassin/v310.pre changed [not included]
/etc/spamassassin/v320.pre changed [not included]

-- 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