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
21 lines
716 B
Diff
21 lines
716 B
Diff
Index: e2fsprogs-1.46.3/scrub/e2scrub_reap.service.in
|
|
===================================================================
|
|
--- e2fsprogs-1.46.3.orig/scrub/e2scrub_reap.service.in
|
|
+++ e2fsprogs-1.46.3/scrub/e2scrub_reap.service.in
|
|
@@ -11,6 +11,15 @@ PrivateNetwork=true
|
|
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
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
AmbientCapabilities=CAP_SYS_ADMIN CAP_SYS_RAWIO
|
|
NoNewPrivileges=yes
|
|
User=root
|