Bug 1981793
| Summary: | glibc: Removal of glibc-gconv-extra results in errors | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Florian Weimer <fweimer> |
| Component: | glibc | Assignee: | Siddhesh Poyarekar <sipoyare> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | aoliva, arjun, codonell, dj, fweimer, law, mcermak, mfabian, pfrankli, rth, sipoyare, yaneti |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | glibc-2.33.9000-43.fc35 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-19 04:26:07 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
Florian Weimer
2021-07-13 12:11:42 UTC
The earlier related code is a bit more complicated, but we would still issue a warning.
2054 -- (4) Update gconv modules cache.
2055 -- If the /usr/lib/gconv/gconv-modules.cache exists, then update it
2056 -- with the latest set of modules that were just installed.
2057 -- We assume that the cache is in _libdir/gconv and called
2058 -- "gconv-modules.cache".
2059
2060 local iconv_dir = "%{_libdir}/gconv"
2061 local iconv_cache = iconv_dir .. "/gconv-modules.cache"
2062 if (posix.utime (iconv_cache) == 0) then
2063 post_exec ("%{_prefix}/sbin/iconvconfig",
2064 "-o", iconv_cache,
2065 "--nostdlib",
2066 iconv_dir)
2067 else
2068 io.stdout:write ("Error: Missing " .. iconv_cache .. " file.\n")
2069 end
We must resolve this before we weaken the dependency.
I don't think this will occur on dependency loosening; that error occurred specifically because both glibc.i686 and glibc-gconv-extra.i686 were removed and there was no /usr/lib/gconv left. That is %postun iconvconfig failing for glibc-gconv-extra. That said, I do need to tighten the check so that postun does not fail with an error if /usr/lib/gconv is empty. |