Bug 748852

Summary: Documentation bug in yum.conf(5) - installonlypkgs
Product: Red Hat Enterprise Linux 5 Reporter: Dan Pritts <redhat>
Component: yumAssignee: packaging-team-maint
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: low Docs Contact:
Priority: unspecified    
Version: 5.8CC: james.antill, lmiksik, santa_banta08, tcallawa, zpavlas
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-10 15:48:10 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 1049888    

Description Dan Pritts 2011-10-25 09:59:18 EDT
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 Product and Program Management 2013-05-01 03:19:13 EDT
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 15:48:10 EST
 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).