mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 09:48:03 -08:00
systemd-homed: Give access to /dev/btrfs-control
Otherwise, we see "WARNING: failed to open /dev/btrfs-control, skipping device registration: Operation not permitted" in systemd-homed's logs when creating a btrfs on luks home.
This commit is contained in:
parent
36dd429680
commit
7655550a49
@ -18,6 +18,7 @@ BusName=org.freedesktop.home1
|
||||
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FSETID CAP_SETGID CAP_SETUID CAP_SYS_RESOURCE CAP_SETPCAP CAP_DAC_READ_SEARCH CAP_SETFCAP
|
||||
DeviceAllow=/dev/loop-control rw
|
||||
DeviceAllow=/dev/mapper/control rw
|
||||
DeviceAllow=/dev/btrfs-control rw
|
||||
DeviceAllow=block-* rw
|
||||
DeviceAllow=char-hidraw rw
|
||||
ExecStart={{LIBEXECDIR}}/systemd-homed
|
||||
|
Loading…
Reference in New Issue
Block a user