Red Hat Bugzilla – Bug 68806
ignore_services bug in logwatch secure script
Last modified: 2008-05-01 11:38:02 EDT
Description of Problem:
secure.conf has a variable "$ignore_services" which is case-insensitive. The
case-insensitivity is achieved by converting its contents to all lower-case.
The secure script fails to do a case-insensitive match. This makes it
impossible to exclude a service that puts its name in the log with any
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try to exclude a service in secure.conf (e.g. Pluto) that logs its name with
a capital letter
The line is not omitted from the secure log.
It should have been.
A one-line patch to fix the problem is attached.
Created attachment 65308 [details]
patch to correct problem