diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-08-03 05:05:43 +0900 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-08-03 14:16:29 +0200 |
commit | 10b1d42e579ae1ca6e022b61c3e5a44e1f3f2b80 (patch) | |
tree | 9ed49ea27f40651ee1a93826bce0a83a2b9c603a | |
parent | a94d2fa81afec77a4c6b40c2edce6ff9e99c084b (diff) | |
download | systemd-10b1d42e579ae1ca6e022b61c3e5a44e1f3f2b80.tar.gz systemd-10b1d42e579ae1ca6e022b61c3e5a44e1f3f2b80.tar.bz2 systemd-10b1d42e579ae1ca6e022b61c3e5a44e1f3f2b80.zip |
unit: make logind can access ESP
Fixes the following error:
```
logind[601]: Failed to open file system "/dev/block/259:1": Operation not permitted
```
-rw-r--r-- | units/systemd-logind.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
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 |