From a88f12c8f202ea4400b6fae4c4f0378659f7936d Mon Sep 17 00:00:00 2001 From: Luca BRUNO Date: Aug 11 2022 08:07:18 +0000 Subject: polkit: switch 'polkitd' to static UID/GID (rhbz#2104615 - fpc#1189) Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2104615 --- diff --git a/polkit.spec b/polkit.spec index 11399b3..f95bf21 100644 --- a/polkit.spec +++ b/polkit.spec @@ -4,7 +4,7 @@ Summary: An authorization framework Name: polkit Version: 121 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2+ URL: http://www.freedesktop.org/wiki/Software/polkit Source0: http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.xz @@ -103,8 +103,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %find_lang polkit-1 %pre -getent group polkitd >/dev/null || groupadd -r polkitd -getent passwd polkitd >/dev/null || useradd -r -g polkitd -d / -s /sbin/nologin -c "User for polkitd" polkitd +getent group polkitd >/dev/null || groupadd -r -g 114 polkitd +getent passwd polkitd >/dev/null || useradd -r -u 114 -g polkitd -d / -s /sbin/nologin -c "User for polkitd" polkitd exit 0 %post @@ -163,6 +163,10 @@ exit 0 %{_libdir}/girepository-1.0/*.typelib %changelog +* Thu Aug 11 2022 Luca BRUNO - 121-4 +- Switch 'polkitd' to static UID/GID (fpc#1189) + Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2104615 + * Tue Aug 02 2022 Jan Rybar - 121-3 - switched back to mozjs until problems with duktape are fixed - Related: bz#2109145