2021-09-17 18:27:04 +02:00
|
|
|
Index: e2fsprogs-1.46.4/scrub/e2scrub@.service.in
|
2021-09-15 11:02:50 +02:00
|
|
|
===================================================================
|
2021-09-17 18:27:04 +02:00
|
|
|
--- e2fsprogs-1.46.4.orig/scrub/e2scrub@.service.in
|
|
|
|
+++ e2fsprogs-1.46.4/scrub/e2scrub@.service.in
|
2021-10-16 11:37:28 +02:00
|
|
|
@@ -10,6 +10,14 @@ PrivateNetwork=true
|
2021-09-15 11:02:50 +02:00
|
|
|
ProtectSystem=true
|
|
|
|
ProtectHome=read-only
|
|
|
|
PrivateTmp=yes
|
|
|
|
+# added automatically, for details please see
|
|
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
+ProtectHostname=true
|
|
|
|
+ProtectKernelTunables=true
|
|
|
|
+ProtectKernelLogs=true
|
|
|
|
+ProtectControlGroups=true
|
|
|
|
+RestrictRealtime=true
|
|
|
|
+# end of automatic additions
|
|
|
|
AmbientCapabilities=CAP_SYS_ADMIN CAP_SYS_RAWIO
|
|
|
|
NoNewPrivileges=yes
|
|
|
|
User=root
|