Bug 577921

Summary: remove hard-coded reference to redhat-release package
Product: Red Hat Satellite 5 Reporter: Dennis Gregorovic <dgregor>
Component: WebUIAssignee: Partha Aji <paji>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Minar <mminar>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: cperry, gkhachik, jhutar, mkoci, mminar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-28 14:58:06 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: 487678, 577027    

Description Dennis Gregorovic 2010-03-29 18:09:06 UTC
In java/code/src/com/redhat/rhn/manager/rhnpackage/PackageManager.java:

    private static final String REDHAT_RELEASE_PACKAGE = "redhat-release";

Hard-coding the 'redhat-release' package name prevents us from changing the name of that package.  Instead, you could check for what Provides redhat-release.  Alternatively, the name of the "release" package is stored in channel metadata in the RHN db.

Comment 1 Clifford Perry 2010-04-08 02:24:09 UTC
Going to align this to Galatica, the release which will support RHEL 6. 

Cliff

Comment 2 Partha Aji 2010-08-31 22:29:11 UTC
This should be fixed as of commit 34029786a88b37bb71dc64a133dfab937abc6d82

Need spacewalk-java-1.2.21-1 or higher to test.

Comment 7 Garik Khachikyan 2010-10-19 13:38:06 UTC
# VERIFIED against errata.stage 
(signed packages -satellite-5.4.0-20101019-rhel-5)

The scenarios with checking Satellite UI actions on registered RHEL6 system as well as API call for system.listSubscribableBaseChannels(token,sid) were checked and all look okey.

Comment 8 Clifford Perry 2010-10-28 14:53:13 UTC
The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. 


RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332

RHEA-2010:0803 - RHN Tools enhancement update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333

RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334

RHEA-2010:0800 - RHN Satellite Server 5.4.0
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335

Docs are available:

http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html 

Regards,
Clifford