2023-02-08 13:21:46 +01:00
|
|
|
Index: e2fsprogs-1.47.0/scrub/e2scrub_all.service.in
|
2021-09-15 11:02:50 +02:00
|
|
|
===================================================================
|
2023-02-08 13:21:46 +01:00
|
|
|
--- e2fsprogs-1.47.0.orig/scrub/e2scrub_all.service.in
|
|
|
|
+++ e2fsprogs-1.47.0/scrub/e2scrub_all.service.in
|
2021-10-16 11:37:28 +02:00
|
|
|
@@ -6,6 +6,17 @@ ConditionCapability=CAP_SYS_RAWIO
|
2021-09-15 11:02:50 +02:00
|
|
|
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
|