From 52db2eaecb644e8e6c5d1154562de54adbac3d6f Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Sun, 11 Oct 2015 17:30:41 +0900 Subject: Create polkitd user for polkitd Without creating the polkitd user, polkitd simply bails out at startup, the result being unexplained timeouts when trying to activate the PolicyKit1 service. Change-Id: I5e4ec083f4fa13860e1204ebc1e62632bb43a898 --- strata/gnome/polkit.morph | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/strata/gnome/polkit.morph b/strata/gnome/polkit.morph index 2c40ecd0..d903ae0f 100644 --- a/strata/gnome/polkit.morph +++ b/strata/gnome/polkit.morph @@ -3,3 +3,8 @@ kind: chunk build-system: autotools configure-commands: - ./autogen.sh --prefix="$PREFIX" --sysconfdir=/etc --disable-man-pages --disable-gtk-doc --enable-libsystemd-login=yes +system-integration: + polkit-misc: + 00-add-polkitd-user: + - groupadd -fg 27 polkitd + - useradd -c "PolicyKit Daemon Owner" -d /etc/polkit-1 -u 27 -g polkitd -s /bin/false polkitd -- cgit v1.2.1