2022-10-18 19:46:53 +02:00
|
|
|
Index: sanlock-3.8.5/init.d/fence_sanlockd.service
|
2021-11-29 23:11:50 +01:00
|
|
|
===================================================================
|
2022-10-18 19:46:53 +02:00
|
|
|
--- sanlock-3.8.5.orig/init.d/fence_sanlockd.service
|
|
|
|
+++ sanlock-3.8.5/init.d/fence_sanlockd.service
|
2021-11-29 23:11:50 +01:00
|
|
|
@@ -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
|