| Summary: | glibc: %transfiletriggerin ldconfig isn't run when installing libraries into /usr/lib or /usr/lib64 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Jani Välimaa <jani.valimaa> |
| Component: | RPM Packages | Assignee: | Base system maintainers <basesystem> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | ouaurelien |
| Version: | 8 | ||
| Target Milestone: | Mageia 8 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | glibc-2.32-15.mga8.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Jani Välimaa
2021-04-17 20:27:28 CEST
Simple test case below. If lua 5.1 lib isn't installed one can skip urpme.
[wally@localhost ~]$ sudo urpme lib64lua5.1
removing lib64lua5.1-5.1.5-15.mga8.x86_64
removing package lib64lua5.1-5.1.5-15.mga8.x86_64
1/1: removing lib64lua5.1-5.1.5-15.mga8.x86_64
#############################################
[wally@localhost ~]$ sudo ldconfig -X
[wally@localhost ~]$ ldconfig -p|grep lua.so.5.1
[wally@localhost ~]$ sudo urpmi lib64lua5.1
installing lib64lua5.1-5.1.5-15.mga8.x86_64.rpm from /var/cache/urpmi/rpms
Preparing... #############################################
1/1: lib64lua5.1 #############################################
[wally@localhost ~]$ ldconfig -p|grep lua.so.5.1
[wally@localhost ~]$ sudo ldconfig -X
[wally@localhost ~]$ ldconfig -p|grep lua.so.5.1
liblua.so.5.1 (libc6,x86-64) => /lib64/liblua.so.5.1
[wally@localhost ~]$
Jani Välimaa
2021-04-17 20:32:35 CEST
Whiteboard:
(none) =>
MGA7TOO After doing a fast search at least bug 24410 is caused by this. I think Cauldron is affected. Assigning to Basesystem maintainers group. Source RPM:
glibc-2.32-15.mga8.src.rpm =>
glibc-2.33-7.mga9.src.rpm glibc-2.32-15.mga8.src.rpm (In reply to Jani Välimaa from comment #2) > After doing a fast search at least bug 24410 is caused by this. Nice catch Jani. This perhaps will explain other bugs... Python scripts using ctypes.util.find_library() might be broken until ldconfig is run by hand. For example python-enchant. Unneeded devel requires was added: https://svnweb.mageia.org/packages?view=revision&revision=1645919 (In reply to Aurelien Oudelet from comment #3) > I think Cauldron is affected. > > Assigning to Basesystem maintainers group. Cauldron is fixed already with glibc-2.33-8.mga9. Version:
Cauldron =>
8 (In reply to Jani Välimaa from comment #6) > (In reply to Aurelien Oudelet from comment #3) > > I think Cauldron is affected. > > > > Assigning to Basesystem maintainers group. > > Cauldron is fixed already with glibc-2.33-8.mga9. Thanks, I did not know. Nice find. I wnoder why no-one has caught it before... Maybe we have been lucky that some packages do forced run of ldconfig and that some packages still use /lib/ and /lib64/ as install point... I wonder it it would be best to do a versioned trigger to run ldconfig on upgrade to "auto-fix" the stuff like comment 5 An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGASA-2021-0308.html Resolution:
(none) =>
FIXED |