Bug 159567

Summary: Logwatch doesn't recongnize routine mailman access
Product: Red Hat Enterprise Linux 4 Reporter: Matthew Saltzman <mjs>
Component: logwatchAssignee: Ivana Varekova <varekova>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: RHEL4U3NAK
Fixed In Version: RHBA-2006-0631 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-06 13:53:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 189992, 201655    
Attachments:
Description Flags
Proposed patch.
none
suppress the file list of no suffixes. none

Description Matthew Saltzman 2005-06-04 16:52:04 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.0.4-1.3.1 Firefox/1.0.4

Description of problem:
Logwatch reports routine access to mailman listinfo and archive pages as "unidentified 'other' records"

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

How reproducible:
Always

Steps to Reproduce:
1. Standard RHEL 4 installation with mailman.
2. Access various pages under http://www.myserver.com/pipermail or http://www.myserver.com/mailman.
3. Wait for next day's logwatch report.
  

Actual Results:  Lots of "unidentified 'other' records" in httpd section of logwatch report, all "GET /pipermail/..." or "GET /mailman/..." with code 200 responses.

Expected Results:  The code 200 responses are normal accesses and should be filtered out by logwatch.

Additional info:

Comment 1 Ivana Varekova 2005-08-31 11:15:49 UTC
Created attachment 118292 [details]
Proposed patch.

This problem is fixed in the attached patch. Logwatch should ignore most of
mailx and pipermail log messages, but logwatch should not ignore (not only
mailman and pipermail) log messages with error response codes >400 (see
upstream version). The attached patch fixes this problem too.

Comment 2 Hideaki Suzuki 2005-09-02 10:57:33 UTC
logwatch seems to report all files without suffix.  Mailman uses cgi files 
without suffixes.

Chances are, the patch attached is good enough.

Comment 3 Hideaki Suzuki 2005-09-02 11:02:11 UTC
Created attachment 118387 [details]
suppress the file list of no suffixes.

Comment 14 Red Hat Bugzilla 2006-09-06 13:53:45 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2006-0631.html