Accepting request 931284 from home:ldreier:branches:vdr

lircd: allow input device access in lircd.service again

OBS-URL: https://build.opensuse.org/request/show/931284
OBS-URL: https://build.opensuse.org/package/show/vdr/lirc?expand=0&rev=110
This commit is contained in:
Stefan Seyfried 2022-04-03 13:29:27 +00:00 committed by Git OBS Bridge
parent 7b7ead7606
commit 48d81feec7
2 changed files with 13 additions and 5 deletions

View File

@ -1,8 +1,6 @@
Index: lirc-0.10.1/systemd/lircd.service
===================================================================
--- lirc-0.10.1.orig/systemd/lircd.service
+++ lirc-0.10.1/systemd/lircd.service
@@ -6,6 +6,16 @@ Wants=lircd-setup.service
--- lirc-0.10.1.orig/systemd/lircd.service 2021-11-13 20:42:43.204519438 +0100
+++ lirc-0.10.1/systemd/lircd.service 2021-11-13 20:47:54.182189779 +0100
@@ -6,6 +6,20 @@ Wants=lircd-setup.service
After=network.target lircd-setup.service
[Service]
@ -16,6 +14,10 @@ Index: lirc-0.10.1/systemd/lircd.service
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
+#
+# ProtectClock=true from above blocks all device accesses, allow input device access again
+DeviceAllow=char-input
+#
Type=simple
ExecStart=/usr/sbin/lircd --nodaemon
; User=lirc

View File

@ -4,6 +4,12 @@ Wed Nov 24 13:00:26 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Add pyyaml-60-compatibility.patch to make the package
compatible with PyYAML 6.0+ (sht#lirc#365).
-------------------------------------------------------------------
Sat Nov 13 19:56:05 UTC 2021 - ldreier@vodafonemail.de
- allow input device access in lircd.service file again. Changed:
* harden_lircd.service.patch
-------------------------------------------------------------------
Tue Oct 5 12:06:44 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>