SHA256
1
0
forked from pool/ledmon

Accepting request 1082992 from home:jsegitz:branches:Base:System

- Don't use ProtectKernelTunables, can break some use cases
  (bsc#1210656)

OBS-URL: https://build.opensuse.org/request/show/1082992
OBS-URL: https://build.opensuse.org/package/show/Base:System/ledmon?expand=0&rev=47
This commit is contained in:
Dirk Mueller 2023-04-27 08:34:45 +00:00 committed by Git OBS Bridge
parent 60a5449829
commit 255e374254
2 changed files with 10 additions and 5 deletions

View File

@ -1,8 +1,8 @@
Index: ledmon-0.95/systemd/ledmon.service.in
Index: ledmon-0.96/systemd/ledmon.service.in
===================================================================
--- ledmon-0.95.orig/systemd/ledmon.service.in
+++ ledmon-0.95/systemd/ledmon.service.in
@@ -5,6 +5,17 @@ Description=Enclosure LED Utilities
--- ledmon-0.96.orig/systemd/ledmon.service.in
+++ ledmon-0.96/systemd/ledmon.service.in
@@ -5,6 +5,16 @@ Description=Enclosure LED Utilities
WantedBy=multi-user.target
[Service]
@ -11,7 +11,6 @@ Index: ledmon-0.95/systemd/ledmon.service.in
+ProtectSystem=full
+ProtectHome=true
+ProtectHostname=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 26 11:27:18 UTC 2023 - Johannes Segitz <jsegitz@suse.com>
- Don't use ProtectKernelTunables, can break some use cases
(bsc#1210656)
-------------------------------------------------------------------
Tue Feb 28 02:07:16 UTC 2023 - Nicholas Yang <nicholas.yang@suse.com>