Debian-Bug#523605: logwatch: doesn't send email when there are lots of log files

Willi Mann <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Hi!

I just got attached bug report. Can anyone take care of this one, please?

thanks
Willi

Vedant Lath schrieb:
> Package: logwatch
> Version: 7.3.6.cvs20080702-2
> Severity: important
> 
> When there are a lot of files in /var/log/samba, logwatch fails to send email.
> 
> Cron sends the following email with the subject:
> Cron <root@bottomquark> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
> 
> /etc/cron.daily/00logwatch:
> Can't exec "/bin/sh": Argument list too long at /usr/sbin/logwatch line 853.
> system 'cat /var/log/samba/log.0-6e844dd435084 /var/log/samba/log.0.0.0.0
> +/var/log/samba/log.06bs1315 /var/log/samba/log.08bshyd0340
> +/var/log/samba/log.192-168-21-198
> [snip]
> +/var/log/samba/log.your-zuirma1xml /var/log/samba/log.zebronics /var/log/samba/log.zucai
> +/var/log/samba/log.zwergaldi  | /usr/bin/perl /usr/share/logwatch/scripts/logfiles/samba/applydate|
> +/usr/bin/perl
> +/usr/share/logwatch/scripts/logfiles/samba/removeheaders>/tmp/logwatch.vLUFVAB1/samba' 
> failed: -1
> +at /usr/sbin/logwatch line 853.
> run-parts: /etc/cron.daily/00logwatch exited with return code 7
> 
> 
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages logwatch depends on:
> ii  perl                          5.10.0-19  Larry Wall's Practical Extraction 
> ii  postfix [mail-transport-agent 2.5.5-1.1  High-performance mail transport ag
> 
> Versions of packages logwatch recommends:
> ii  libdate-manip-perl            5.54-1     a perl library for manipulating da
> 
> Versions of packages logwatch suggests:
> ii  fortune-mod                 1:1.99.1-3.1 provides fortune cookies on demand
> 
> -- no debconf information
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.