mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
unit: make logind can access ESP
Fixes the following error: ``` logind[601]: Failed to open file system "/dev/block/259:1": Operation not permitted ```
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
a94d2fa81a
commit
10b1d42e57
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user