Bug 1807821 - glibc: nss_db.x86_64 should install nss_db.i686 if glibc.i686 is installed
Summary: glibc: nss_db.x86_64 should install nss_db.i686 if glibc.i686 is installed
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Weimer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1807915
Blocks: 1807824
TreeView+ depends on / blocked
 
Reported: 2020-02-27 10:14 UTC by Florian Weimer
Modified: 2020-12-21 17:11 UTC (History)
11 users (show)

Fixed In Version: glibc-2.31.9000-12.fc33
Clone Of:
: 1807824 (view as bug list)
Environment:
Last Closed: 2020-04-29 11:49:52 UTC
Type: Bug
Embargoed:
codonell: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1803161 0 medium CLOSED nss_nis: Add conditional dependency on nss_nis.i686 to nss_nis.x86_64 2023-09-07 21:55:02 UTC

Description Florian Weimer 2020-02-27 10:14:05 UTC
If a user installs just nss_db (which means just nss_db.x86_64), 32-bit applications will not work correctly because nss_db.i686 must be separately, now that the lesser-used NSS modules have been split from the main glibc package.

(A similar fix should be applied to nss_hesiod, but that is less important because it's supposedly deprecated.)

Comment 1 Florian Weimer 2020-02-27 13:16:46 UTC
With the redhat-rpm-config change from bug 1807915, this can be implemented lie this:

diff --git a/glibc.spec b/glibc.spec
index 6535306..c83cd56 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -589,6 +589,7 @@ performance with LDAP, and may help with DNS as well.
 %package -n nss_db
 Summary: Name Service Switch (NSS) module using hash-indexed files
 Requires: %{name}%{_isa} = %{version}-%{release}
+%{_glibc_nss_dependencies nss_db}
 
 %description -n nss_db
 The nss_db Name Service Switch module uses hash-indexed files in /var/db
@@ -597,6 +598,7 @@ to speed up user, group, service, host name, and other NSS-based lookups.
 %package -n nss_hesiod
 Summary: Name Service Switch (NSS) module using Hesiod
 Requires: %{name}%{_isa} = %{version}-%{release}
+%{_glibc_nss_dependencies nss_hesiod}
 
 %description -n nss_hesiod
 The nss_hesiod Name Service Switch module uses the Domain Name System

Comment 2 Florian Weimer 2020-04-29 11:49:52 UTC
I have pushed this to rawhide, without depending on the redhat-rpm-config change.


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