Bug#348974: log-watch: unmatched entry for Syslogd

2006-01-22 Thread Richard Burton



Please test the version 7.2.1-0test1


I'm afraid this version seems to be fundamentally broken, this was all I got 
in my mail this morning from cron (and no log watch email at all):


/etc/cron.daily/00logwatch:
No mail for root
run-parts: /etc/cron.daily/00logwatch exited with return code 141

I tried to get the Debug::Trace module to show me what was was going on, but 
I couldn't get any output from it. An strace ended with this, which looks 
like a problem passing the output to the mail command:
write(4, MIME-Version: 1.0\nContent-Transf..., 4096) = -1 EPIPE (Broken 
pipe)

--- SIGPIPE (Broken pipe) @ 0 (0) ---
+++ killed by SIGPIPE +++

Richard.




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



Bug#348974: log-watch: unmatched entry for Syslogd

2006-01-22 Thread Willi Mann


I'm afraid this version seems to be fundamentally broken, this was all I 
got in my mail this morning from cron (and no log watch email at all):


/etc/cron.daily/00logwatch:
No mail for root
run-parts: /etc/cron.daily/00logwatch exited with return code 141

I tried to get the Debug::Trace module to show me what was was going on, 
but I couldn't get any output from it. An strace ended with this, which 
looks like a problem passing the output to the mail command:
write(4, MIME-Version: 1.0\nContent-Transf..., 4096) = -1 EPIPE 
(Broken pipe)

--- SIGPIPE (Broken pipe) @ 0 (0) ---
+++ killed by SIGPIPE +++


Unfortunately, logwatch doesn't work anymore with mail, you need a 
sendmail. I've changed that in 7.2.1-0test2. I've only tested

# logwatch --print
which worked. I didn't expect that this could break. Sorry.

Willi


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



Bug#348974: log-watch: unmatched entry for Syslogd

2006-01-22 Thread Willi Mann

Richard Burton schrieb:

 Unfortunately, logwatch doesn't work anymore with mail, you need a
 sendmail. I've changed that in 7.2.1-0test2. I've only tested
 # logwatch --print
 which worked. I didn't expect that this could break. Sorry.

I use exim and courier, and installing sendmail seems to want to remove 
them. Does this mean I can no longer use logwatch?


No, you need an mta that provides /usr/sbin/sendmail, in debian terms a 
package that provides mail-transport-agent. My sentence was probably the 
worst form to express that. But apt will take care for that anyway.


$ apt-cache show logwatch | grep  -E ^(Depends|Version)
Version: 7.2.1-0test2
Depends: perl, exim | mail-transport-agent
Version: 7.2.1-0test1
Depends: perl, mailx
Version: 7.1-2
Depends: perl, mailx, gawk

$ grep-aptavail -FProvides  mail-transport-agent | grep ^Package
Package: esmtp-run
Package: exim
Package: exim4-daemon-heavy
Package: exim4-daemon-light
Package: hula-mta
Package: masqmail
Package: nullmailer
Package: postfix
Package: sendmail-bin
Package: ssmtp
Package: xmail
Package: smail
Package: zmailer
Package: courier-mta

(I've pasted them here, because I might need that list later.)

Willi


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



Bug#348974: log-watch: unmatched entry for Syslogd

2006-01-22 Thread Willi Mann

Richard Burton schrieb:

 Unfortunately, logwatch doesn't work anymore with mail, you need a
 sendmail. I've changed that in 7.2.1-0test2. I've only tested
 # logwatch --print
 which worked. I didn't expect that this could break. Sorry.

I use exim and courier, and installing sendmail seems to want to remove 
them. Does this mean I can no longer use logwatch?


I've just seen that I didn't upload 7.2.1-0test2. 7.2.1-0test3 is now 
ready, I'll upload in the next 10 minutes.


Willi


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



Bug#348974: log-watch: unmatched entry for Syslogd

2006-01-22 Thread Richard Burton
I use exim and courier, and installing sendmail seems to want to remove 
them. Does this mean I can no longer use logwatch?


No, you need an mta that provides /usr/sbin/sendmail, in debian terms a 
package that provides mail-transport-agent. My sentence was probably the 
worst form to express that. But apt will take care for that anyway.


Jolly good, I don't understand how all the MTA components fit together. 
Anyway, tested with the new version and it can send mail again, and the 
original reported syslogd message issue is resolved.


Richard.




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



Bug#348974: log-watch: unmatched entry for Syslogd

2006-01-21 Thread Willi Mann


 - Syslogd Begin  

 
  Unmatched entries 

 restart (remote reception). : 1 Times
 
 -- Syslogd End - 


Please test the version 7.2.1-0test1 that's available from

http://pkg-logwatch.alioth.debian.org/apt/pool/main/l/logwatch/

if you want to use apt to install it, you find the info at

http://pkg-logwatch.alioth.debian.org/

Willi


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



Bug#348974: log-watch: unmatched entry for Syslogd

2006-01-20 Thread Richard Antony Burton
Package: logwatch
Version: 7.1-2
Severity: normal


Every day I get an unmatched entry for syslogd, which shows the service was
restarted (to rotate the logs):

 - Syslogd Begin  

 
  Unmatched entries 
 restart (remote reception). : 1 Times
 
 -- Syslogd End - 

Richard.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages logwatch depends on:
ii  gawk 1:3.1.5-1   GNU awk, a pattern scanning and pr
ii  mailx1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii  perl 5.8.7-10Larry Wall's Practical Extraction 

logwatch recommends no packages.

-- no debconf information


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