[lxc-devel] [lxc/lxc] 8f430a: cgroups: get controllers on the unified hierarchy

GitHub noreply at github.com
Wed Feb 7 11:07:39 UTC 2018


  Branch: refs/heads/stable-2.0
  Home:   https://github.com/lxc/lxc
  Commit: 8f430ad408e776f8cf5349424dc675a4574d94e2
      https://github.com/lxc/lxc/commit/8f430ad408e776f8cf5349424dc675a4574d94e2
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgroup.h
    M src/lxc/cgroups/cgroup_utils.c
    M src/lxc/cgroups/cgroup_utils.h

  Log Message:
  -----------
  cgroups: get controllers on the unified hierarchy

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 6ae46d0c24351053f787401a2d0621c0b7f6abe6
      https://github.com/lxc/lxc/commit/6ae46d0c24351053f787401a2d0621c0b7f6abe6
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/utils.c
    M src/lxc/utils.h

  Log Message:
  -----------
  cgroups: cgfsng_create: handle unified hierarchy

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: f7214e6f05487d3d5a95d01c33f0e30d6f7a2bdd
      https://github.com/lxc/lxc/commit/f7214e6f05487d3d5a95d01c33f0e30d6f7a2bdd
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/commands.c

  Log Message:
  -----------
  cgroups: cgfsng_attach: handle unified hierarchy

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: f6edab85b322a3d5600ec3ada4d1770cfa7a8bba
      https://github.com/lxc/lxc/commit/f6edab85b322a3d5600ec3ada4d1770cfa7a8bba
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgroups: cgfsng_get: handle unified hierarchy

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 6d02c5e7ca04652bf1c180a273e12fdb82cb325c
      https://github.com/lxc/lxc/commit/6d02c5e7ca04652bf1c180a273e12fdb82cb325c
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgroups: cgfsng_set: handle unified hierarchy

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 2e900f7e20f21634cc1fb1c29768fbb1250d301d
      https://github.com/lxc/lxc/commit/2e900f7e20f21634cc1fb1c29768fbb1250d301d
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M src/lxc/cgroups/cgfs.c
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgmanager.c
    M src/lxc/cgroups/cgroup.c
    M src/lxc/cgroups/cgroup.h

  Log Message:
  -----------
  cgroups: handle limits on the unified hierarchy

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 56a081d7b97e00eb44573fd7948c40aea78dfb4d
      https://github.com/lxc/lxc/commit/56a081d7b97e00eb44573fd7948c40aea78dfb4d
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgroups: more consistent naming

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: eae8a764ece69d8c9375e929973bf38463ec6d2c
      https://github.com/lxc/lxc/commit/eae8a764ece69d8c9375e929973bf38463ec6d2c
  Author: l00415420 <lifeng68 at huawei.com>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M src/lxc/attach.c

  Log Message:
  -----------
  attach: set the container's environment variables

Set the same environment variables that were used when starting the container
when attaching to the container.

Signed-off-by: LiFeng <lifeng68 at huawei.com>
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 984feb4ea9d615182e89a665d1f02abece03e896
      https://github.com/lxc/lxc/commit/984feb4ea9d615182e89a665d1f02abece03e896
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M src/lxc/attach.c

  Log Message:
  -----------
  attach: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: a566f76fc2cdfee3771822d406323fa42be896e4
      https://github.com/lxc/lxc/commit/a566f76fc2cdfee3771822d406323fa42be896e4
  Author: LiFeng <lifeng68 at huawei.com>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgfsng: do MS_REMOUNT

Perform MS_REMOUNT on mounts with MS_RDONLY.

Signed-off-by: LiFeng <lifeng68 at huawei.com>
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 58789b22f49fb02d75ed28c385cc69bae9f8088f
      https://github.com/lxc/lxc/commit/58789b22f49fb02d75ed28c385cc69bae9f8088f
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgfsng: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: a30b05ac88a4d8757b3867f064c52fcbc0e8080a
      https://github.com/lxc/lxc/commit/a30b05ac88a4d8757b3867f064c52fcbc0e8080a
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M templates/lxc-centos.in

  Log Message:
  -----------
  templates: CentOS fixes

Issues fixed:
- lxc-centos died about a missing /run directory
- lxc-centos complained about some config files it couldn't modify
- the new container got stuck at startup time for a minute
  (literally), waiting for systemd-remount-fs startup script

Of course it still works for RHEL 6, CentOS 6 and 7 as well. I did not
verify earlier CentOS or RHEL releases.

Signed-off-by: Harald Dunkel <harald.dunkel at aixigo.de>
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/372ecb703f73...a30b05ac88a4


More information about the lxc-devel mailing list