Hi folks,

On 04/04/2016 05:50 PM, Serge Hallyn wrote:
> Quoting Milan Beneš ([email protected]):
>> Hello,
>> does anybody know if systemd is a requirement for LXC 2.0?
> 
> Systemd is not required.  A name=systemd cgroup mount is.  You
> can create that trivially
> 
> sudo mkdir /sys/fs/cgroup/systemd
> sudo mount -t cgroup -o none,name=systemd /sys/fs/cgroup/systemd
> 

Should be "mkdir -p", AFAICT.

This is pretty painful. Obviously a simple entry in /etc/fstab
is not sufficient.

Would it be possible to add some "if test -d /sys/fs/cgroup/systemd"
to the code, bypassing the systemd support for native sysv init
on HA systems?


Thanx in advance
Harri

_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to