[lxc-devel] [lxc/lxc] 460859: cgfs: do not automount if cgroup namespaces are su...

GitHub noreply at github.com
Thu Feb 25 02:11:29 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 4608594e1dce0efdf3412103d95d31763598ea0d
      https://github.com/lxc/lxc/commit/4608594e1dce0efdf3412103d95d31763598ea0d
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2016-02-24 (Wed, 24 Feb 2016)

  Changed paths:
    M doc/lxc.container.conf.sgml.in
    M src/lxc/cgfs.c

  Log Message:
  -----------
  cgfs: do not automount if cgroup namespaces are supported

In that case containers will be able to mount cgroup filesystems
for themselves as they do on a host.

This fixes inability to start systemd based containers on cgns-enabled
kernels with cgmanager not running.

I've tested debian jessie, busybox, ubuntu trusty and xenial, all of
which booted ok.  However if there are some setups which require
premounted cgroupfs (i.e. they don't mount if they detect being in
a container), this may cause trouble.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: e80ca772adc7791a858120249cf9b7a82a3d6579
      https://github.com/lxc/lxc/commit/e80ca772adc7791a858120249cf9b7a82a3d6579
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2016-02-24 (Wed, 24 Feb 2016)

  Changed paths:
    M doc/lxc.container.conf.sgml.in
    M src/lxc/cgfs.c

  Log Message:
  -----------
  Merge pull request #846 from hallyn/2016-02-24/cgns.auto

cgfs: do not automount if cgroup namespaces are supported


Compare: https://github.com/lxc/lxc/compare/4f97fce4b370...e80ca772adc7


More information about the lxc-devel mailing list