Dirk Mueller
c12ef24d09
- Drop ProtectClock hardening, can cause issues if other device acceess is needed OBS-URL: https://build.opensuse.org/request/show/925452 OBS-URL: https://build.opensuse.org/package/show/filesystems/e2fsprogs?expand=0&rev=145
23 lines
750 B
Diff
23 lines
750 B
Diff
Index: e2fsprogs-1.46.3/scrub/e2scrub_all.service.in
|
|
===================================================================
|
|
--- e2fsprogs-1.46.3.orig/scrub/e2scrub_all.service.in
|
|
+++ e2fsprogs-1.46.3/scrub/e2scrub_all.service.in
|
|
@@ -6,6 +6,17 @@ ConditionCapability=CAP_SYS_RAWIO
|
|
Documentation=man:e2scrub_all(8)
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+ProtectHome=true
|
|
+ProtectHostname=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
Type=oneshot
|
|
Environment=SERVICE_MODE=1
|
|
ExecStart=@root_sbindir@/e2scrub_all
|