[Logcheck-devel] Bug#656314: logcheck.logfiles * pattern does not work
Kosa Attila
zsiga at kosaek.hu
Wed Jan 18 10:36:09 UTC 2012
Package: logcheck
Version: 1.3.13
Severity: important
Lenny, /usr/sbin/logcheck:
if [ ! $LOGFILE ] && [ -r $LOGFILES_LIST ]; then
for file in $(egrep --text -v "(^#|^[[:space:]]*$)" $LOGFILES_LIST); do
logoutput "$file"
done
Squeeze, /usr/sbin/logcheck:
if [ ! "$LOGFILE" ] && [ -r "$LOGFILES_LIST" ]; then
egrep --text -v "(^#|^[[:space:]]*$)" "$LOGFILES_LIST" | while read file; do
logoutput "$file"
done
Therefore does not work the * pattern in /etc/logcheck/logcheck.logfiles:
/var/log/MACHINE/*/syslog
-- System Information:
Debian Release: 6.0.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=hu_HU.utf8, LC_CTYPE=hu_HU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages logcheck depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii cron 3.0pl1-116 process scheduling daemon
ii lockfile-progs 0.1.15 Programs for locking and unlocking
ii logtail 1.3.13 Print log file lines that have not
ii mime-construct 1.11 construct/send MIME messages from
ii postfix [mail-transport 2.7.1-1+squeeze1 High-performance mail transport ag
ii syslog-ng [system-log-d 3.1.3-3 Next generation logging daemon
Versions of packages logcheck recommends:
ii logcheck-database 1.3.13 database of system log rules for t
Versions of packages logcheck suggests:
pn syslog-summary <none> (no description available)
-- Configuration Files:
/etc/logcheck/logcheck.conf [Errno 13] Engedély megtagadva: u'/etc/logcheck/logcheck.conf'
/etc/logcheck/logcheck.logfiles [Errno 13] Engedély megtagadva: u'/etc/logcheck/logcheck.logfiles'
-- no debconf information
More information about the Logcheck-devel
mailing list