Accepting request 940445 from Base:System

- Also remove ProtectKernelTunables from harden_fancontrol.service.patch,
  breaks service (boo#1193149) (forwarded request 940302 from jsegitz)

OBS-URL: https://build.opensuse.org/request/show/940445
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sensors?expand=0&rev=110
This commit is contained in:
Dominique Leuenberger 2021-12-16 20:18:46 +00:00 committed by Git OBS Bridge
commit 196746c1e9
2 changed files with 7 additions and 2 deletions

View File

@ -2,7 +2,7 @@ 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
@@ -4,6 +4,15 @@ ConditionFileNotEmpty=/etc/fancontrol
After=lm_sensors.service
[Service]
@ -11,7 +11,6 @@ Index: lm-sensors-3-6-0/prog/init/fancontrol.service
+ProtectSystem=full
+ProtectHome=true
+ProtectHostname=true
+ProtectKernelTunables=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 13 16:22:02 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Also remove ProtectKernelTunables from harden_fancontrol.service.patch,
breaks service (boo#1193149)
-------------------------------------------------------------------
Mon Nov 29 13:01:09 UTC 2021 - Johannes Segitz <jsegitz@suse.com>