]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
logind: allow read/write to char-hvc devices
authorLuca Boccassi <luca.boccassi@gmail.com>
Tue, 22 Oct 2024 16:04:41 +0000 (17:04 +0100)
committerMike Yuan <me@yhndnzj.com>
Tue, 22 Oct 2024 21:44:47 +0000 (23:44 +0200)
virtio console uses /dev/hvc* so we need access to write wall
messages

units/systemd-logind.service.in

index 9a918bf0b63c713adc3e6ed962a707037133ef18..1b241d49d5692c2988043e5293f75c1b07934566 100644 (file)
@@ -28,6 +28,7 @@ DeviceAllow=block-* r
 DeviceAllow=char-/dev/console rw
 DeviceAllow=char-drm rw
 DeviceAllow=char-hidraw rw
+DeviceAllow=char-hvc rw
 DeviceAllow=char-input rw
 DeviceAllow=char-tty rw
 DeviceAllow=char-vcs rw