- Drop ProtectSystem and ProtectHome hardening. Unfortunately they're breaking at jobs (boo#1192294) OBS-URL: https://build.opensuse.org/request/show/933259 OBS-URL: https://build.opensuse.org/package/show/Base:System/at?expand=0&rev=120
23 lines
744 B
Diff
23 lines
744 B
Diff
Index: at-3.2.2/atd.service.in
|
|
===================================================================
|
|
--- at-3.2.2.orig/atd.service.in
|
|
+++ at-3.2.2/atd.service.in
|
|
@@ -4,6 +4,17 @@ Documentation=man:atd(8)
|
|
After=remote-fs.target nss-user-lookup.target
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+PrivateDevices=true
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
ExecStartPre=-find @atjobdir@ -type f -name "=*" -not -newercc /run/systemd -delete
|
|
ExecStart=@sbindir@/atd -f
|
|
IgnoreSIGPIPE=false
|