ab38be0224
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/932179 OBS-URL: https://build.opensuse.org/package/show/Base:System/sensors?expand=0&rev=120
22 lines
713 B
Diff
22 lines
713 B
Diff
Index: lm-sensors-3-6-0/prog/init/fancontrol.service
|
|
===================================================================
|
|
--- lm-sensors-3-6-0.orig/prog/init/fancontrol.service
|
|
+++ lm-sensors-3-6-0/prog/init/fancontrol.service
|
|
@@ -4,6 +4,16 @@ ConditionFileNotEmpty=/etc/fancontrol
|
|
After=lm_sensors.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
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
Type=simple
|
|
PIDFile=/run/fancontrol.pid
|
|
ExecStart=/usr/sbin/fancontrol
|