diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in index 927f97e94e..c6f5b81c1d 100644 --- a/units/systemd-logind.service.in +++ b/units/systemd-logind.service.in @@ -22,6 +22,7 @@ After=dbus.socket [Service] BusName=org.freedesktop.login1 CapabilityBoundingSet=CAP_SYS_ADMIN CAP_MAC_ADMIN CAP_AUDIT_CONTROL CAP_CHOWN CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG CAP_LINUX_IMMUTABLE +DeviceAllow=block-* r DeviceAllow=char-/dev/console rw DeviceAllow=char-drm rw DeviceAllow=char-input rw