mirror of
https://github.com/systemd/systemd
synced 2024-10-04 15:21:01 +00: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:
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
|
||||
|
|
Loading…
Reference in a new issue