From f8d795ec629c416e21a3129d095eb5873aaf59e30a56482e29312a98707c88a4 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 23 Aug 2021 12:01:29 +0000 Subject: [PATCH 1/2] Accepting request 912735 from home:ykurlaev:branches:Base:System Add DeviceAllow=char-input to excpilcitly allow access to /dev/input/* If it's not set, then you get "cannot open input layer" error message in logs. It's related to ProtectClock=true being added in previous revision as it is also preventing access to other devices, see similar issue here: https://github.com/tailscale/tailscale/issues/1063#issuecomment-751425789 OBS-URL: https://build.opensuse.org/request/show/912735 OBS-URL: https://build.opensuse.org/package/show/Base:System/acpid?expand=0&rev=101 --- acpid.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/acpid.service b/acpid.service index 5695f24..8e6876c 100644 --- a/acpid.service +++ b/acpid.service @@ -11,6 +11,8 @@ ProtectClock=true ProtectKernelLogs=true ProtectControlGroups=true +DeviceAllow=char-input + ExecStart=/usr/sbin/acpid -n -f ExecReload=/bin/kill -s HUP $MAINPID From a38d95b2a7c12b65ca0800e4ea44488c5b28cd1f0a13dd7c04cc17af4003a720 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 23 Aug 2021 12:02:55 +0000 Subject: [PATCH 2/2] - allow DeviceAllow=char-input to make character input work again (was blocked by ProtectClock=true check added) OBS-URL: https://build.opensuse.org/package/show/Base:System/acpid?expand=0&rev=102 --- acpid.changes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/acpid.changes b/acpid.changes index 5e7bf26..043b8c1 100644 --- a/acpid.changes +++ b/acpid.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Aug 23 12:02:22 UTC 2021 - Marcus Meissner + +- allow DeviceAllow=char-input to make character input work again + (was blocked by ProtectClock=true check added) + ------------------------------------------------------------------- Tue Jul 27 14:19:54 UTC 2021 - Johannes Segitz