chiark / gitweb /
units: add SecureBits
[elogind.git] / units / systemd-machined.service.in
index e60ea32fa0a4ebe4f7fa44f091315b88123928a1..0cb823e60e48a339f6952bf2f902ccc7cd668f59 100644 (file)
@@ -15,10 +15,11 @@ After=machine.slice
 [Service]
 ExecStart=@rootlibexecdir@/systemd-machined
 BusName=org.freedesktop.machine1
-CapabilityBoundingSet=CAP_KILL
+CapabilityBoundingSet=CAP_KILL CAP_SYS_PTRACE CAP_SYS_ADMIN CAP_SETGID CAP_SYS_CHROOT CAP_DAC_READ_SEARCH
+SecureBits=noroot noroot-locked
 WatchdogSec=1min
 PrivateTmp=yes
 PrivateDevices=yes
 PrivateNetwork=yes
-PortectSystem=full
+ProtectSystem=full
 ProtectHome=yes