From d8eb81e3dc4bf69ee2df0143b6311492db0c8dc9 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 15 2022 07:06:39 +0000 Subject: import man-pages-5.10-5.el9 --- diff --git a/SOURCES/man-pages-5.10-subid.patch b/SOURCES/man-pages-5.10-subid.patch new file mode 100644 index 0000000..2df2178 --- /dev/null +++ b/SOURCES/man-pages-5.10-subid.patch @@ -0,0 +1,43 @@ +From 02425d9113f378c746dff7d4510d28719e8e9255 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Nikola=20Forr=C3=B3?= +Date: Fri, 22 Jul 2022 14:47:43 +0200 +Subject: [PATCH] nsswitch.conf.5: Mention subid database +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +shadow-utils use nsswitch.conf for configuring delegation of subordinate +uids/gids. + +Reference: +https://github.com/shadow-maint/shadow/blob/3ec32f9975f262073f8fbdecd2bfaee4a1d3db48/lib/nss.c + +and subuid.5/subgid.5 man pages. + +Signed-off-by: Nikola Forró +--- + man5/nsswitch.conf.5 | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/man5/nsswitch.conf.5 b/man5/nsswitch.conf.5 +index f2eeb24..0d969c3 100644 +--- a/man5/nsswitch.conf.5 ++++ b/man5/nsswitch.conf.5 +@@ -109,6 +109,14 @@ databases. For example, + consults the + .B sudoers + database. ++Delegation of subordinate user/group IDs ++can be configured using the ++.B subid ++database. Refer to ++.BR subuid (5) ++and ++.BR subgid (5) ++for more details. + .PP + Here is an example + .I /etc/nsswitch.conf +-- +2.35.3 + diff --git a/SPECS/man-pages.spec b/SPECS/man-pages.spec index 9fd50a1..6f486e3 100644 --- a/SPECS/man-pages.spec +++ b/SPECS/man-pages.spec @@ -8,7 +8,7 @@ Summary: Linux kernel and C library user-space interface documentation Name: man-pages Version: 5.10 -Release: 4%{?dist} +Release: 5%{?dist} License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE URL: http://www.kernel.org/doc/man-pages/ Source: http://www.kernel.org/pub/linux/docs/man-pages/man-pages-%{version}.tar.xz @@ -42,6 +42,10 @@ BuildArch: noarch # https://bugzilla.kernel.org/show_bug.cgi?id=53781 Patch21: man-pages-3.42-close.patch +# resolves: #2059981 +# https://lore.kernel.org/linux-man/920642e4bc7b60c19962187b266dfc0ee4ac7f27.camel@redhat.com/ +Patch22: man-pages-5.10-subid.patch + %description A large collection of manual pages from the Linux Documentation Project (LDP). @@ -49,6 +53,7 @@ A large collection of manual pages from the Linux Documentation Project (LDP). %setup -q -a 1 -a 2 %patch21 -p1 +%patch22 -p1 # rename posix README so we don't have conflict mv %{posix_name}/README %{posix_name}/%{posix_name_rel}.README @@ -114,6 +119,10 @@ fi %{_mandir}/man*/* %changelog +* Tue Aug 23 2022 Nikola Forró - 5.10-5 +- nsswitch.conf.5: Mention subid database + resolves: #2059981 + * Mon Aug 09 2021 Mohan Boddu - 5.10-4 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688