public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/setup] update_services: reserve gid 87 for polkituser (just uid was reserved), reserve 18 gid for
@ 2026-06-22 15:55 Ondrej Vasik
  0 siblings, 0 replies; only message in thread
From: Ondrej Vasik @ 2026-06-22 15:55 UTC (permalink / raw)
  To: git-commits

        A new commit has been pushed.

        Repo   : rpms/setup
        Branch : update_services
        Commit : 33bccd40e9c455cd635b179f0aa7de8af0990e59
        Author : Ondrej Vasik <ovasik@fedoraproject.org>
        Date   : 2009-01-29T11:45:59+00:00
        Stats  : +29/-1 in 2 file(s)
        URL    : https://src.fedoraproject.org/rpms/setup/c/33bccd40e9c455cd635b179f0aa7de8af0990e59?branch=update_services

        Log:
        reserve gid 87 for polkituser (just uid was reserved), reserve 18 gid for
dialout (to prevent conflicts with polkituser gid)

---
diff --git a/setup-2.7.7-uidgid.patch b/setup-2.7.7-uidgid.patch
new file mode 100644
index 0000000..9289027
--- /dev/null
+++ b/setup-2.7.7-uidgid.patch
@@ -0,0 +1,21 @@
+diff -urNp setup-2.7.7-orig/uidgid setup-2.7.7/uidgid
+--- setup-2.7.7-orig/uidgid	2009-01-22 14:00:18.000000000 +0100
++++ setup-2.7.7/uidgid	2009-01-29 12:40:37.000000000 +0100
+@@ -23,6 +23,7 @@ gopher	13	30	/usr/lib/gopher-data		/sbin
+ ftp	14	50	/var/ftp		/sbin/nologin	setup
+ man	-	15	-		-	setup
+ pkiuser	17	17	/usr/share/pki		/sbin/nologin	pki-ca,rhpki-ca
++dialout	-	18	-		-	udev,MAKEDEV
+ floppy	-	19	-		-	dev,MAKEDEV
+ games	-	20	-		-	setup
+ slocate	-	21	-		-	slocate
+@@ -92,8 +93,7 @@ clamav	83	83	/tmp		/sbin/nologin	clamav
+ screen	-	84	-		-	screen
+ quaggavt	-	85	-		-	quagga
+ sabayon	86	86	-		/sbin/nologin	sabayon
+-polkituser	87	-	/		/sbin/nologin	PolicyKit
+-dialout	-	87	-		-	udev,MAKEDEV
++polkituser	87	87	/		/sbin/nologin	PolicyKit
+ wbpriv	-	88	-		-	samba-common
+ postfix	89	89	/var/spool/postfix		/bin/true	postfix
+ postdrop	-	90	-		-	postfix

diff --git a/setup.spec b/setup.spec
index e40294a..2883822 100644
--- a/setup.spec
+++ b/setup.spec
@@ -1,11 +1,12 @@
 Summary: A set of system configuration and setup files
 Name: setup
 Version: 2.7.7
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: Public Domain
 Group: System Environment/Base
 URL: https://fedorahosted.org/setup/
 Source: setup-%{version}.tar.bz2
+Patch1: setup-2.7.7-uidgid.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
 BuildRequires: bash tcsh perl
@@ -18,6 +19,7 @@ setup files, such as passwd, group, and profile.
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 
@@ -87,6 +89,11 @@ end
 %ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/mtab
 
 %changelog
+* Thu Jan 29 2009 Ondrej Vasik <ovasik@redhat.com> 2.7.7-2
+- reserve 87 gid for polkituser (just uid was reserved),
+  reserve 18 gid for dialout(to prevent conflicts with
+  polkituser gid)
+
 * Thu Jan 22 2009 Ondrej Vasik <ovasik@redhat.com> 2.7.7-1
 - synchronize /etc/services with latest IANA, do not use
   tabs in that file to have consistent output

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-22 15:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-22 15:55 [rpms/setup] update_services: reserve gid 87 for polkituser (just uid was reserved), reserve 18 gid for Ondrej Vasik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox