Bug 748852 - Documentation bug in yum.conf(5) - installonlypkgs
Summary: Documentation bug in yum.conf(5) - installonlypkgs
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: yum
Version: 5.8
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Packaging Maintenance Team
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks: 1049888
TreeView+ depends on / blocked
 
Reported: 2011-10-25 13:59 UTC by Dan Pritts
Modified: 2014-02-04 15:05 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-10 20:48:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dan Pritts 2011-10-25 13:59:18 UTC
Description of problem:

yum.conf(5) says:

              installonlypkgs List of packages that should only ever be  installed,  never
              updated.  Kernels in particular fall into this category. Defaults to kernel,
              kernel-smp, kernel-bigmem,  kernel-enterprise,  kernel-debug,  kernel-unsup-
              ported.

but /usr/lib/python2.4/site-packages/yum/config.py actually has:

class YumConf(StartupConf):
[...]
    installonlypkgs = ListOption(['kernel', 'kernel-bigmem',
            'kernel-enterprise','kernel-smp', 'kernel-modules', 'kernel-debug',
            'kernel-unsupported', 'kernel-source', 'kernel-devel', 'kernel-PAE',
            'kernel-PAE-debug'])



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

~@tsgdev1% rpm -qi yum
Name        : yum                          Relocations: (not relocatable)
Version     : 3.2.22                            Vendor: Red Hat, Inc.
Release     : 37.el5                        Build Date: Tue 14 Jun 2011 10:47:59 AM EDT
Install Date: Mon 24 Oct 2011 05:28:35 PM EDT      Build Host: ia64-004.build.bos.redhat.com


How reproducible:

always

Steps to Reproduce:
1. man yum.conf
2.
3.
  
Actual results:

lies to me

Expected results:

reflects reality

Additional info:

I do not yet have RHEL6 installed so I cannot check this there, but presumably this hsould be checked out there too.

Comment 1 RHEL Program Management 2013-05-01 07:19:13 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 2 James Antill 2013-12-10 20:48:10 UTC
 Given the age of this and and how minor it is (and that the man page update could easily fix it if really needed) I'm going to close this now, as we are very late in RHEL-5. At least the early versions of RHEL-6 yum could be rebuilt on RHEL-5, so if any customer really needs this then that is a viable path (and rhel-6 includes yum-config-manager, so the user can easily query information like this).


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