Bug 577921 - remove hard-coded reference to redhat-release package
Summary: remove hard-coded reference to redhat-release package
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Partha Aji
QA Contact: Martin Minar
URL:
Whiteboard:
Depends On:
Blocks: sat540-blockers 577027
TreeView+ depends on / blocked
 
Reported: 2010-03-29 18:09 UTC by Dennis Gregorovic
Modified: 2016-07-04 00:54 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-28 14:58:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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