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
This commit is contained in:
Marcus Meissner 2021-08-23 12:01:29 +00:00 committed by Git OBS Bridge
parent 4f0f531b7b
commit f8d795ec62

View File

@ -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