summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2015-10-11 08:30:41 (GMT)
committerJavier Jardón <jjardon@gnome.org>2015-10-12 19:56:38 (GMT)
commit52db2eaecb644e8e6c5d1154562de54adbac3d6f (patch)
tree47e83311a07fc5e2c26a66fb10ef675f41890267
parentdffa6176001f362dcb6f02b1b1bac3af37df6122 (diff)
downloaddefinitions-52db2eaecb644e8e6c5d1154562de54adbac3d6f.tar.gz
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
-rw-r--r--strata/gnome/polkit.morph5
1 files changed, 5 insertions, 0 deletions
diff --git a/strata/gnome/polkit.morph b/strata/gnome/polkit.morph
index 2c40ecd..d903ae0 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