Daniel Iancu
2014-Sep-25 10:27 UTC
[Logcheck-devel] Bug#762807: logcheck: Cron "sre_constants.error: unexpected end of pattern"
Package: logcheck Version: 1.3.15 Severity: normal Dear Maintainer, *** Please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these lines *** I'm receiving this Cron error email whenever the logcheck cron runs: Subject: if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck; fi Message: Traceback (most recent call last): File "/usr/bin/syslog-summary", line 282, in <module> main() File "/usr/bin/syslog-summary", line 275, in main ignore_pats = read_patterns(IGNORE_FILENAME) File "/usr/bin/syslog-summary", line 83, in read_patterns pats.append(re.compile(rule)) File "/usr/lib/python2.7/re.py", line 190, in compile return _compile(pattern, flags) File "/usr/lib/python2.7/re.py", line 242, in _compile raise error, v # invalid expression sre_constants.error: unexpected end of pattern Any idea why? In the rest logcheck works perfect. -- System Information: Debian Release: 7.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages logcheck depends on: ii adduser 3.113+nmu3 ii cron 3.0pl1-124 ii exim4-daemon-light [mail-transport-agent] 4.80-7 ii lockfile-progs 0.1.17 ii logtail 1.3.15 ii mime-construct 1.11 ii rsyslog [system-log-daemon] 5.8.11-3 Versions of packages logcheck recommends: ii logcheck-database 1.3.15 Versions of packages logcheck suggests: ii syslog-summary 1.14-2 -- Configuration Files: /etc/logcheck/logcheck.conf [Errno 13] Permission denied: u'/etc/logcheck/logcheck.conf' /etc/logcheck/logcheck.logfiles [Errno 13] Permission denied: u'/etc/logcheck/logcheck.logfiles' -- no debconf information