pkg/dm-crypt: grant access to all devices

The package needs block devices e.g. for /dev/sda

It also needs character devices for /dev/mapper/

Signed-off-by: David Scott <dave@recoil.org>
This commit is contained in:
David Scott 2021-10-18 10:16:14 +01:00
parent 5895976b33
commit 71fa9f2cae

View File

@ -3,6 +3,10 @@ config:
binds:
- /dev:/dev
- /etc/dm-crypt:/etc/dm-crypt
devices:
# all devices (/dev/mapper is a character device)
- path: all
type: a
capabilities:
- CAP_SYS_ADMIN
- CAP_MKNOD