#8 polkit: switch 'polkitd' to static UID/GID (rhbz#2104615 - fpc#1189)
Closed a year ago by jrybar. Opened 2 years ago by lucab.
rpms/ lucab/polkit ups/polkitd-static-ids  into  rawhide

file modified
+7 -3
@@ -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 @@ 

  %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 @@ 

  %{_libdir}/girepository-1.0/*.typelib

  

  %changelog

+ * Thu Aug 11 2022 Luca BRUNO <lucab@lucabruno.net> - 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 <jrybar@redhat.com> - 121-3

  - switched back to mozjs until problems with duktape are fixed

  - Related: bz#2109145

Pull-Request has been closed by lucab

2 years ago

Pull-Request has been reopened by lucab

2 years ago

This is now ready to merge.
/cc @jrybar

Looks like we need to deal with 'polkituser' first.

This PR has been rebased manually and pushed into dist-git, now built in rawhide.
https://koji.fedoraproject.org/koji/taskinfo?taskID=97484006

Thanks, Luca.

Pull-Request has been closed by jrybar

a year ago
Metadata