Bug 2021671

Summary: glibc: Backport "glibc-doc" subpackage to support smaller production containers.
Product: Red Hat Enterprise Linux 8 Reporter: Carlos O'Donell <codonell>
Component: glibcAssignee: Arjun Shankar <ashankar>
Status: CLOSED ERRATA QA Contact: Sergey Kolosov <skolosov>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.6CC: ashankar, codonell, dj, fweimer, mcoufal, mnewsome, pfrankli, sipoyare
Target Milestone: rcKeywords: FeatureBackport, Patch, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glibc-2.28-174.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 15:17:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Carlos O'Donell 2021-11-09 21:35:56 UTC
We want to backport this to RHEL 8.6 to reduce production container sizes by allowing glibc-docs to be uninstalled.

The savings are ~300KiB of installed docs.

commit 1fa03e97ae4cb44f5f7e1938a4315a39e0306c87
Author: Arjun Shankar <arjun>
Date:   Sat Jan 23 19:16:05 2021 +0100

    Introduce new glibc-doc.noarch subpackage (#1346925)
    
    The info pages of The GNU C Library Reference Manual included in the
    devel subpackage, were (slightly) increasing the installed size of
    systems that required the devel object files but not the manual.
    
    In addition to this, a number of unnecessary files (READMEs, NEWS,
    INSTALL, and an example gai.conf) were included in either the main
    package or the common subpackage.
    
    This commit introduces a new glibc-doc.noarch subpackage and moves the
    info pages from the devel subpackage and the debugger interface
    documentation from the main package into glibc-doc.  It also removes all
    the unnecessary documentation-like files mentioned above.

Comment 1 Arjun Shankar 2021-11-29 17:23:03 UTC
Notes on what has changed:

 * New glibc-doc subpackage

 * Updating from previous versions does not auto-install glibc-doc

 * Files moved from existing packages to glibc-doc:
   - glibc: rtld-debugger-interface.txt
   - glibc-devel: libc.info*.gz (info pages)

 * Files removed from existing packages:
   - glibc: README, INSTALL, and NEWS
   - glibc-common: gai.conf and README.timezone

Comment 6 errata-xmlrpc 2022-05-10 15:17:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (glibc bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2005