Quoting Harald Dunkel ([email protected]): > 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?
We have 'lxc.cgroup.use' in the global lxc configuration, perhaps we can do one of the following: 1. if lxc.cgroup.use is specified, then let that override the 'madatory' list, bc you should know better 2. add a 'lxc.cgroup.required' which if unspecified defaults to the current list. 3. add a 'lxc.cgroup.ignore' list _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
