chiark / gitweb /
units: add SecureBits
[elogind.git] / units / systemd-machined.service.in
index 5a890b5b7aba680b3079e42239be4b3568697372..0cb823e60e48a339f6952bf2f902ccc7cd668f59 100644 (file)
@@ -15,7 +15,8 @@ After=machine.slice
 [Service]
 ExecStart=@rootlibexecdir@/systemd-machined
 BusName=org.freedesktop.machine1
-CapabilityBoundingSet=CAP_KILL CAP_SYS_PTRACE CAP_SYS_ADMIN CAP_SETGID
+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