From 08142b70e92c2418784c014b10398e15ab623def4492f7357c23e240e2131288 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 3 Apr 2022 13:29:27 +0000 Subject: [PATCH] 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 --- harden_lircd.service.patch | 12 +++++++----- lirc.changes | 6 ++++++ 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/harden_lircd.service.patch b/harden_lircd.service.patch index b2c9362..807db2b 100644 --- a/harden_lircd.service.patch +++ b/harden_lircd.service.patch @@ -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 diff --git a/lirc.changes b/lirc.changes index 541f2e3..43b7f6d 100644 --- a/lirc.changes +++ b/lirc.changes @@ -4,6 +4,12 @@ Wed Nov 24 13:00:26 UTC 2021 - Matej Cepl - 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