chiark / gitweb /
journal: limit caps we pass to journald
[elogind.git] / units / systemd-journald.service.in
index 08858f38d79f5a4dcd2f57a15063da0d97dcbecb..c153d472c0c1d654346027b6b17cbf274dbbb06b 100644 (file)
@@ -18,7 +18,7 @@ After=syslog.socket
 ExecStart=@rootlibexecdir@/systemd-journald
 NotifyAccess=all
 StandardOutput=null
-#CapabilityBoundingSet=CAP_SYS_ADMIN CAP_SETUID CAP_SETGID CAP_DAC_OVERRIDE
+CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE CAP_SYSLOG CAP_AUDIT_CONTROL CAP_CHOWN CAP_DAC_READ_SEARCH CAP_FOWNER
 
 # Increase the default a bit in order to allow many simultaneous
 # services being run since we keep one fd open per service.