[cgmanager-devel] [lxc/cgmanager] 1c7ca8: Make unified hierarchy mountable on 4.5.0+ kernels

0 views
Skip to first unread message

GitHub

unread,
Nov 7, 2017, 1:58:29 PM11/7/17
to cgmanag...@lists.linuxcontainers.org
Branch: refs/heads/master
Home: https://github.com/lxc/cgmanager
Commit: 1c7ca8ebd7aca835b576d09528626c58f066bc15
https://github.com/lxc/cgmanager/commit/1c7ca8ebd7aca835b576d09528626c58f066bc15
Author: Maciej S. Szmigiero <ma...@maciej.szmigiero.name>
Date: 2017-10-28 (Sat, 28 Oct 2017)

Changed paths:
M fs.c

Log Message:
-----------
Make unified hierarchy mountable on 4.5.0+ kernels

Starting from kernel 4.5.0 the unified hierarchy is accessible via a
separate "cgroup2" file system type.
The same kernel version also removed the ability to mount it via a
"__DEVEL__sane_behavior" option provided to the "cgroup" file system type.

Adapt to these changes by first trying to mount the "cgroup2" file system,
then, if this file system type is not known, by trying to mount the unified
hierarchy the old way via the "__DEVEL__sane_behavior" mount option.

Signed-off-by: Maciej S. Szmigiero <ma...@maciej.szmigiero.name>


Commit: 8f599b54c8021f37c1eeb7394a30b9e5fd0870f9
https://github.com/lxc/cgmanager/commit/8f599b54c8021f37c1eeb7394a30b9e5fd0870f9
Author: Serge Hallyn <se...@hallyn.com>
Date: 2017-11-07 (Tue, 07 Nov 2017)

Changed paths:
M fs.c

Log Message:
-----------
Merge pull request #35 from maciejsszmigiero/kernel-4.5-unified-fix

Make unified hierarchy mountable on 4.5.0+ kernels


Compare: https://github.com/lxc/cgmanager/compare/4435deaa3f9f...8f599b54c802

Reply all
Reply to author
Forward
0 new messages