sanlock/harden_sanlk-resetd.service.patch
James Fehlig f32eec2dde - Update to sanlock 3.9.3
- Make the watchdog timeout configurable
  - wdmd: close watchdog when not used
  - userstorage: replace by PyPI userstorage
  - sanlock: skip short delay in delta lease reacquire
  - sanlock: use product_uuid for host name
  - wdmd: fix timing for iTCO_wdt
  - sanlock: save client_id in token and report in status and use in -C
  - sanlock: include startup message in syslog
  - sanlock: improve repeated ballots in paxos_acquire
  - sanlock: fix zero io timeout for direct requests
  - sanlock: fix release writing zero dblock values
  - sanlock: skip delay when same host acquires delta lease

OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=74
2024-06-03 23:02:16 +00:00

23 lines
714 B
Diff

Index: sanlock-3.9.3/init.d/sanlk-resetd.service
===================================================================
--- sanlock-3.9.3.orig/init.d/sanlk-resetd.service
+++ sanlock-3.9.3/init.d/sanlk-resetd.service
@@ -4,6 +4,17 @@ After=wdmd.service sanlock.service
Requires=wdmd.service sanlock.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/sbin/sanlk-resetd