Bug 68806 - ignore_services bug in logwatch secure script
ignore_services bug in logwatch secure script
Product: Red Hat Linux
Classification: Retired
Component: logwatch (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Elliot Lee
Depends On:
  Show dependency treegraph
Reported: 2002-07-14 13:25 EDT by Jay Berkenbilt
Modified: 2008-05-01 11:38 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-07-14 13:26:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch to correct problem (413 bytes, patch)
2002-07-14 13:26 EDT, Jay Berkenbilt
no flags Details | Diff

  None (edit)
Description Jay Berkenbilt 2002-07-14 13:25:56 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
upper-case letters.

Version-Release number of selected component (if applicable):


How Reproducible:


Steps to Reproduce:
1. Try to exclude a service in secure.conf (e.g. Pluto) that logs its name with
a capital letter

Actual Results:

The line is not omitted from the secure log.

Expected Results:

It should have been.

A one-line patch to fix the problem is attached.
Comment 1 Jay Berkenbilt 2002-07-14 13:26:22 EDT
Created attachment 65308 [details]
patch to correct problem
Comment 2 Elliot Lee 2002-08-08 11:54:33 EDT

Note You need to log in before you can comment on or make changes to this bug.