Package: logwatch Version: 6.1.2-1 Severity: normal [CC went to [EMAIL PROTECTED] [e-mail has spam trap! Remove _s__p__a__m]
Some scripts check $IngoreUnmatched variable. First, this is a typo (it should be $IgnoreUnmatched). [ok, it could be Ingore or Whatever, but let's be consistent] Second problem is some of them do not initialize this variable. Here is a list of scripts with a typo: mallorn:/usr/share/logwatch# grep -r IngoreUnmatched . ./scripts/services/afpd:if (($#OtherList >= 0) and (not $IngoreUnmatched)) { ./scripts/services/pureftpd:if (($#OtherList >= 0) and (not $IngoreUnmatched)){ ./scripts/services/vsftpd:if (($#OtherList >= 0) and (not $IngoreUnmatched)){ If you do grep for IgnoreUnmatched you'll allso see that some scripts do not set $IgnoreUnmatched variable. Namely, they are: ./scripts/services/afpd ./scripts/services/pureftpd ./scripts/services/vsftpd ./scripts/services/qmail ./scripts/services/vpopmail A correct way of initializing it can be found for example in ./scripts/services/proftpd-messages: $IgnoreUnmatched = $ENV{'ftpd_ignore_unmatched'}; This also means that a documentation and an example should be added to /etc/logwatch/ file, like it is for /etc/logwatch/conf/services/proftpd-messages.conf: # Set this to 1 if you want to ignore unmatched FTP messages... $ftpd_ignore_unmatched = 0 -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.4.31-ow1 Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2) Versions of packages logwatch depends on: ii mailx 1:8.1.2-0.20040524cvs-4 A simple mail user agent ii perl 5.8.4-8 Larry Wall's Practical Extraction -- no debconf information -- Piotrek irc: #debian.pl Mors Drosophilis melanogastribus! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]