]> 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)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 13 Nov 2024 19:48:10 +0000 (19:48 +0000)
virtio console uses /dev/hvc* so we need access to write wall
messages

(cherry picked from commit 5ff6841c2378ed83e645681cbd4ee145f68d72b7)

units/systemd-logind.service.in

index cc1b6be429c9632a30df88c4bad276dab5ec233f..e04aa821190c7c8c9f887dfc9d1093d76d4aa852 100644 (file)
@@ -27,6 +27,7 @@ CapabilityBoundingSet=CAP_SYS_ADMIN CAP_MAC_ADMIN CAP_AUDIT_CONTROL CAP_CHOWN CA
 DeviceAllow=block-* r
 DeviceAllow=char-/dev/console rw
 DeviceAllow=char-drm rw
+DeviceAllow=char-hvc rw
 DeviceAllow=char-input rw
 DeviceAllow=char-tty rw
 DeviceAllow=char-vcs rw