Bug 515720 - RFE - Add yum-priorities support to RHN
Summary: RFE - Add yum-priorities support to RHN
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 0.7
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space13
TreeView+ depends on / blocked
 
Reported: 2009-08-05 13:48 UTC by Chris Stankaitis
Modified: 2011-01-28 14:15 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-01-28 14:15:22 UTC
Embargoed:


Attachments (Terms of Use)

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


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