forked from pool/e2fsprogs
78f374424e
Rev filesystems/142 Md5 69bd64fbc6d1446b0f1394269a3eaf63 2021-09-15 09:02:50 jankara 918932
24 lines
764 B
Diff
24 lines
764 B
Diff
Index: e2fsprogs-1.46.3/scrub/e2scrub_fail@.service.in
|
|
===================================================================
|
|
--- e2fsprogs-1.46.3.orig/scrub/e2scrub_fail@.service.in
|
|
+++ e2fsprogs-1.46.3/scrub/e2scrub_fail@.service.in
|
|
@@ -3,6 +3,18 @@ Description=Online ext4 Metadata Check F
|
|
Documentation=man:e2scrub(8)
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+ProtectHome=true
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
Type=oneshot
|
|
ExecStart=@pkglibdir@/e2scrub_fail "%I"
|
|
User=mail
|