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

2019-01-17 Thread Colin Guthrie
Mailing List SVR wrote on 16/01/2019 21:03: > Il 16/01/19 19:24, Lennart Poettering ha scritto: >> On Mi, 16.01.19 09:20, Mailing List SVR (li...@svrinformatica.it) wrote: >> >>> Well, this command will make the sd devices readable inside the >>> container on >>> centos 7 too >>> >>> echo 'b 8:* rw

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

2019-01-16 Thread Mailing List SVR
Il 16/01/19 19:24, Lennart Poettering ha scritto: On Mi, 16.01.19 09:20, Mailing List SVR (li...@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\\x2druntim

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

2019-01-16 Thread Lennart Poettering
On Mi, 16.01.19 09:20, Mailing List SVR (li...@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 sear

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

2019-01-16 Thread Mailing List SVR
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 Il 16/01/19 01:4

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

2019-01-15 Thread Mailing List SVR
Hi, I'm quite new to systemd-nspawn, I configured a systemd container based on ubuntu bionic using debootstrap. I can start the container from a bionic host (systemd 237) with a command like this one systemd-nspawn -b -D bionic-devel --capability=CAP_SYS_TIME,CAP_SYS_RAWIO --bind=/dev/sda