Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 515720

Summary: RFE - Add yum-priorities support to RHN
Product: [Community] Spacewalk Reporter: Chris Stankaitis <cstankaitis>
Component: ClientsAssignee: Michael Mráka <mmraka>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.7CC: cperry, jhutar, jpazdziora, mmraka
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-28 14:15:22 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: 653453    

Description Chris Stankaitis 2009-08-05 13:48:43 UTC
Most people out there need to have 3rd party repo's in addition to the main RHN ones.  Rpmforge, EPEL etc.  yum-priorities allows you to give each of these repo's a priority so that if you want to say keep the RHN version of a package it can be given priority over one from rpmforge etc.  


Currently I do not see a way to add yum-priorities priority=X flag to the RHN repo's as they appear to still use the old RHEl3x style up2date syntax.

Could you please consider adding the yum-priorities support to RHN repo's so that we can take advantage of this plugin.

Comment 5 Jan Pazdziora (Red Hat) 2009-12-08 08:00:45 UTC
Chris,

the yum-priorities package is not available in Red Hat Enterprise Linux (5.4) and it is not even available in EPEL. Thus, adding this feature to yum-rhn-plugin in Red Hat Enterprise Linux is not feasible.

I'm moving this bugzilla to Spacewalk which is the upstream for yum-rhn-plugin.

Comment 6 Jan Pazdziora (Red Hat) 2010-11-19 16:03:06 UTC
Mass-moving to space13.

Comment 7 Michael Mráka 2011-01-28 14:15:22 UTC
This can be already achieved by adding priority=XX option into /etc/yum/pluginconf.d/rhnplugin.conf. E.g.:

/etc/yum/pluginconf.d/rhnplugin.conf:
[main]
enabled = 1
gpgcheck = 1
# default priority for rhnplugin repos not explicitely mentioned here
priority = 20

[rhel-i386-server-6]
# higher priority
priority=10

[rhel-i386-server-optional-6]
# lower priority
priority=30