summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJirka Hladky <jhladky@redhat.com>2021-01-03 00:26:40 +0100
committerJirka Hladky <jhladky@redhat.com>2021-01-03 00:26:40 +0100
commit4da3080ad4587860e5da73072d6ed54d0052938c (patch)
treeb67952daab2d78e87c103ed10ece33ad6a9a2167
parentFixed path to haveged in Fedora rpm spec files (diff)
downloadhaveged-1.9.14.tar.xz
haveged-1.9.14.zip
Updated haveged.service to allow chroot when included in initramfsv1.9.14
-rw-r--r--contrib/Fedora/haveged.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/Fedora/haveged.service b/contrib/Fedora/haveged.service
index 6217765..abb9cfc 100644
--- a/contrib/Fedora/haveged.service
+++ b/contrib/Fedora/haveged.service
@@ -11,11 +11,12 @@ Restart=always
SuccessExitStatus=137 143
SecureBits=noroot-locked
-CapabilityBoundingSet=CAP_SYS_ADMIN
+CapabilityBoundingSet=CAP_SYS_ADMIN CAP_SYS_CHROOT
# We can *not* set PrivateTmp=true as it can cause an ordering cycle.
PrivateTmp=false
PrivateDevices=true
-PrivateNetwork=true
+# We can *not* set PrivateNetwork=true to allow command mode (chroot when included in initramfs)
+#PrivateNetwork=true
ProtectSystem=full
ProtectHome=true
ProtectHostname=true