[systemd-devel] systemd-nspawn: access to disk devices does not work on centos 7/systemd 219

Lennart Poettering lennart at poettering.net
Wed Jan 16 18:24:24 UTC 2019


On Mi, 16.01.19 09:20, Mailing List SVR (lists at svrinformatica.it) wrote:

> Well, this command will make the sd devices readable inside the container on
> centos 7 too
>
> echo 'b 8:* rw' > /sys/fs/cgroup/devices/machine.slice/machine-bionic\\x2druntime.scope/devices.allow
>
> now I'll will search how to pass to systemd-nspawn using a command line
> argument

Use --property=DeviceAllow=…

Lennart

--
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list