In F16 Fedora and RHEL 6 there was an nss_db package which used the Berkely DB
format for the database. This package was deprecated in favour of the builtin
nss_db support in glibc. In order to make the rpm dependency transition easier
we should either Provides: nss_db in glibc.spec or provide a nss_db package which
can be installed to provide the nss_db functionality. Today in Rawhide we provide
a subpackage. This patch adds a comment to ensure we understand that transition
and assist where we can in making that smoother.
* Mon May 21 2018 Carlos O'Donell <carlos(a)redhat.com> - 2.27.9000-19
- Ensure that nss_db subpackage or Provides: nss_db exist for legacy upgrades.
diff --git a/glibc.spec b/glibc.spec
index d61efbc..4ef5dc9 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -549,6 +549,14 @@ performance with LDAP, and may help with DNS as well.
# Subpackages for NSS modules except nss_files, nss_dns
##############################################################################
+# This should remain it's own subpackage or "Provides: nss_db" to allow
easy
+# migration from old systems that previously had the old nss_db package
+# installed. Note that this doesn't make the migration that smooth, the
+# databases still need rebuilding because the formats were different.
+# The Berkeley DB nss_db package was deprecated in F16 and onwards:
+#
https://lists.fedoraproject.org/pipermail/devel/2011-July/153665.html
+# The different database format does cause some issues for users:
+#
https://lists.fedoraproject.org/pipermail/devel/2011-December/160497.html
%package -n nss_db
Summary: Name Service Switch (NSS) module using hash-indexed files
Requires: %{name}%{_isa} = %{version}-%{release}
---
OK for Fedora Rawhide?
--
Cheers,
Carlos.