Hi Devs,

First of all thank you for this great logcheck tool ! :-)

There is a small glitch in logcheck-1.2.45 (didn't check previous
versions thou)

The /usr/sbin/run-parts script seems to be not compatible between
different Linux distros. Under RedHat EL and Fedora Core it does not support
--list option (moreover it does not support any option except
for the dirname ;-).

It harms the following part in cleanrules() function:

      for rulefile in $(run-parts --list $dir); do

The function is unable to parse any of the rulefiles under 
/etc/logcheck/ignore.d* then :-(

The simplest solution i could think of is to substitute run-parts
with ls. It works for me:

      for rulefile in $(ls -1 $dir); do

Regards,

-- 
Lukasz 'look' Buko
Network Administrator

_______________________________________________
Logcheck-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/logcheck-devel

Reply via email to