import man-pages-5.10-5.el9

This commit is contained in:
CentOS Sources 2022-11-15 02:06:39 -05:00 committed by Stepan Oksanichenko
parent 323cf0b0e2
commit 59361fecc2
2 changed files with 53 additions and 1 deletions

View File

@ -0,0 +1,43 @@
From 02425d9113f378c746dff7d4510d28719e8e9255 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
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ó <nforro@redhat.com>
---
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

View File

@ -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ó <nforro@redhat.com> - 5.10-5
- nsswitch.conf.5: Mention subid database
resolves: #2059981
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 5.10-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688