Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 522805

Summary: rhn_check does not log rpm activity
Product: Red Hat Enterprise Linux 5 Reporter: Frode Nordahl <frode>
Component: rhn-client-toolsAssignee: Dave Parker <dparker>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: low    
Version: 5.4CC: cperry, mzazrivec
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-14 23:36:04 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:

Description Frode Nordahl 2009-09-11 14:46:30 UTC
Description of problem:
When rhn_check installs or updates RPMs in a system, this is not logged anywhere! /var/log/yum.log only logs actions done by the /usr/bin/yum command, and /var/log/up2date only contains information about when the package profile was updated etc.

In RedHat 4.x the /var/log/up2date file also contains information about what packages are installed / updated. Could this behaviour be restored?

We just wasted an hour making sure one of our servers was not compromised because of this :-)

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

How reproducible:
100%

Steps to Reproduce:
1. Schedule RPM action in RHN on a RHEL5 server
2. Schedule RPM action in RHN on a RHEL4 server
  
Actual results:
On RHEL5 the action is performed, but nothing is logged in /var/log/up2date
On RHEL4 the action is logged in /var/log/up2date


Expected results:
A notice in /var/log/up2date about RPMs being installed.

Additional info:

Example log entries from a RHEL4 server:
[Fri Sep 11 05:04:36 2009] up2date installing packages: ['fetchmail-6.2.5-6.0.1.el4_8.1']

Comment 1 Milan Zázrivec 2009-10-12 11:14:49 UTC
Seems like same problem as https://bugzilla.redhat.com/show_bug.cgi?id=527412

Comment 2 Dave Parker 2009-10-14 23:36:04 UTC
I concur with Milan - this looks like a dupe.

*** This bug has been marked as a duplicate of bug 527412 ***