[Logcheck-devel] Bug#253260: logcheck: searches wrong directory for violations-ignore.d

Daniel Pittman daniel at rimspace.net
Tue Jun 8 08:18:50 UTC 2004


Package: logcheck
Version: 1.2.22
Severity: important

Logcheck keeps crashing for me, because it can't find the 'sudo' ignore
file it searches for. This looks like a typo in the code, fixed by this
patch:

--- logcheck.orig       2004-06-08 18:17:40.000000000 +1000
+++ logcheck    2004-06-08 18:17:58.000000000 +1000
@@ -302,7 +302,7 @@
  
                debug "Cleaning logcheck"
                # Remove any  entries already reported
-               for file in $(ls $raise/ | grep -v '^logcheck') ; do
+               for file in $(ls $ignore/ | grep -v '^logcheck') ; do
                    debug "Cleaning logcheck: $file"
                    cleanchecked "$ignore/$file"
                done

    Daniel

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-rc2-enki
Locale: LANG=C, LC_CTYPE=C

Versions of packages logcheck depends on:
ii  adduser                 3.56             Add and remove users and groups
ii  cron                    3.0pl1-83        management of regular background p
ii  debconf [debconf-2.0]   1.4.27           Debian configuration management sy
ii  debianutils             2.8.2            Miscellaneous utilities specific t
ii  lockfile-progs          0.1.10           Programs for locking and unlocking
ii  logcheck-database       1.2.22           A database of system log rules for
ii  logtail                 1.2.22           Print log file lines that have not
ii  mailutils [mailx]       1:0.4+20040601-1 GNU mailutils utilities for handli
ii  perl                    5.8.4-2          Larry Wall's Practical Extraction 
ii  postfix [mail-transport 2.1.1-3          A high-performance mail transport 
ii  sysklogd [system-log-da 1.4.1-14         System Logging Daemon

-- debconf information:
* logcheck/noroot:
  logcheck/changes:
* logcheck/install-note:

-- 
The true believer is eternally incomplete, eternally insecure.
        -- Eric Hoffer





More information about the Logcheck-devel mailing list