[PATCH] Comment on the need for Provides: nss_db.
by Carlos O'Donell
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.
5 years, 10 months
Source RPM size
by Florian Weimer
Would it concern you if the source RPM size grew to about 110 MiB?
This data would not have to be uploaded with a “fedpkg new-sources”
command for every upstream import, only once per Fedora release cycle.
Thanks,
Florian
5 years, 10 months
tarballs vs ABI xml files in dist-git.
by Carlos O'Donell
Florian,
You expressed some worry about checking in the tarballs for the frozen
ABI specification into dist-git. Really git is not designed to hold
tarballs, and the source cache is just wrong since this is not a source
tarball (we used to abuse it also for the releng tarball).
It is relatively easy to move all the files directly into dist-git, and
use a lua construct like this:
+%{lua:
+-- List all of the frozen ABI xml files as source files.
+function recursedir(directory)
+ local i, t, popen = 0, {}, io.popen
+ local pfile = popen('find "'..directory..'" -type f')
+ for filename in pfile:lines() do
+ i = i + 1
+ t[i] = filename
+ end
+ pfile:close()
+ return t
+end
+# There are almost 2000 ABI specification files.
+lines = recursedir ('releng/frozen-abi/')
+-- Last Source file is numbered 12.
+j = 12
+for i,v in ipairs(lines) do
+ print('Source'..i..': '..v)
+ j = j + 1
+end
+}
+%endif
Which generates the source line entries from the directories.
This would allow us to manually tweak the ABI files by hand and
track the changes over time as we update glibc.
Would this be a better design?
--
Cheers,
Carlos.
5 years, 10 months
Cleaning up Fedora glibc repository ACLs.
by Carlos O'Donell
Team,
With the transition to https://src.fedoraproject.org/rpms/glibc,
I have taken the opportunity to cleanup the commit ACLs for the
project.
If you haven't committed anything for over 5 years (or ever) I
have removed your account from the commit ACLs for glibc.
This makes it clear to the Fedora community who is currently
working on Fedora, and who should be contacted in the event
that someone is looking for a pull-request review, or a rebase,
or any other issue, particularly in the event that I am not
around to answer.
The exception is DJ Delorie who has ACLs because he's going to
work on Rawhide and stable branch rebases in short order.
If you would like to volunteer to do work, please tell me and
I can put you back on the ACL.
If you have any questions please don't hesitate to ask.
--
Cheers,
Carlos.
5 years, 10 months