28c58ae561
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/932182 OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=67
23 lines
788 B
Diff
23 lines
788 B
Diff
Index: sanlock-3.8.4/init.d/fence_sanlockd.service
|
|
===================================================================
|
|
--- sanlock-3.8.4.orig/init.d/fence_sanlockd.service
|
|
+++ sanlock-3.8.4/init.d/fence_sanlockd.service
|
|
@@ -4,6 +4,17 @@ After=syslog.target wdmd.service sanlock
|
|
Before=corosync.service
|
|
|
|
[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=forking
|
|
ExecStart=/usr/lib/systemd/systemd-fence_sanlockd start
|
|
ExecStop=/usr/lib/systemd/systemd-fence_sanlockd stop
|