Bug 168469

Summary: logwatch needs improvements for up2date parsing
Product: Red Hat Enterprise Linux 3 Reporter: Peter Bieringer <pb>
Component: logwatchAssignee: Ivana Varekova <varekova>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: poelstra
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2006-0333 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-10 21:43:03 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: 187539    
Attachments:
Description Flags
Proposed patch. none

Description Peter Bieringer 2005-09-16 15:08:28 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.10) Gecko/20050717 Firefox/1.0.6

Description of problem:
logwatch should be extended for better parsing up2date log file

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

How reproducible:
Always

Steps to Reproduce:
1. create some up2date error conditions
2. take a look at logwatch output

  

Actual Results:  Some examples:

missing reason:

 --------------------- up2date Begin ------------------------ 
**Unmatched Entries**
Error communicating with server. The message was:
 ---------------------- up2date End ------------------------- 

Caused by:

[Thu Sep 15 04:02:04 2005] up2date updating login info
[Thu Sep 15 04:02:04 2005] up2date logging into up2date server
[Thu Sep 15 04:02:04 2005] up2date A socket error occurred: (111, 'Connection refused'), attempt #1
[Thu Sep 15 04:02:09 2005] up2date A socket error occurred: (111, 'Connection refused'), attempt #2
[Thu Sep 15 04:02:14 2005] up2date A socket error occurred: (111, 'Connection refused'), attempt #3
[Thu Sep 15 04:02:19 2005] up2date A socket error occurred: (111, 'Connection refused'), attempt #4
[Thu Sep 15 04:02:24 2005] up2date A socket error occurred: (111, 'Connection refused'), attempt #5
[Thu Sep 15 04:02:24 2005] up2date Error communicating with server. The message was:
Connection refused

-> note that here it looks like that up2date (up2date-4.2.57-2) logging can be improved also


Displaying unneccessary contents:
 
 --------------------- up2date Begin ------------------------ 
 **Unmatched Entries**
 Updating package profile
 Updating package profile
 ---------------------- up2date End ------------------------- 

Caused by:

[Fri Sep 16 11:56:54 2005] up2date Updating package profile
[Fri Sep 16 11:56:57 2005] up2date Updating package profile


Expected Results:  Better support of up2date log file

Additional info:

Comment 1 Ivana Varekova 2005-09-19 08:16:58 UTC
Created attachment 118962 [details]
Proposed patch.

Hello,
thank you for your notice. The attached patch fixes these two problems. Could
you please test this patch, and attach message if the results are right or if
there is any problem with up2date logwatch output.

Comment 2 Peter Bieringer 2005-09-19 21:04:38 UTC
Looks like working for at least "Updating package profile"

BTW: this problem occurs at leastup to version logwatch-6.0.1-4, so the version
of RHEL4 should also be fixed.

Comment 11 Red Hat Bugzilla 2006-05-10 21:43:03 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-0333.html