Bug 1983639 - glibc: Remove glibc-hwcaps multilibs on updates [rhel-8]
Summary: glibc: Remove glibc-hwcaps multilibs on updates [rhel-8]
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: glibc
Version: 8.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: glibc team
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On: 1983677
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-19 10:25 UTC by Florian Weimer
Modified: 2023-07-18 14:30 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1983643 (view as bug list)
Environment:
Last Closed: 2021-07-21 11:23:51 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Florian Weimer 2021-07-19 10:25:05 UTC
The Lua code to remove ELF multilibs does not iterate over all glibc-hwcaps subdirectories, so it misses the power9 multilib added in bug 1956357.

Comment 2 Florian Weimer 2021-07-21 11:23:51 UTC
I misremembered how this works. During the update if the old and new glibc ship a multilib, it is replaced in place, so there is no issue. We cannot remove glibc-hwcaps multilibs proactively because doing so in %post would remove the already-overwritten new files. At the end of the RPM transaction, the glibc-hwcaps multilib would be gone, which is not what we want.


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