Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: c988c8b1ceb45c8104af501961468a7b8b1d92cd https://github.com/lxc/lxc/commit/c988c8b1ceb45c8104af501961468a7b8b1d92cd Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2021-02-15 (Mon, 15 Feb 2021)
Changed paths: M src/lxc/attach.c M src/lxc/cgroups/cgroup_utils.h M src/lxc/lsm/apparmor.c M src/lxc/start.c M src/lxc/utils.c M src/lxc/utils.h M src/tests/lxc_raw_clone.c Log Message: ----------- cgroups: move cgns_supported() to cgroup utilities Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> Commit: 6d25a524d8133bced20e0a8e8bfb0f2b42155d70 https://github.com/lxc/lxc/commit/6d25a524d8133bced20e0a8e8bfb0f2b42155d70 Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2021-02-15 (Mon, 15 Feb 2021) Changed paths: M src/lxc/conf.c Log Message: ----------- conf: don't pass conf separately to lxc_mount_auto_mounts() Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> Commit: ab8cd5d9e2841cb632e64b1680fdef03c9c4e112 https://github.com/lxc/lxc/commit/ab8cd5d9e2841cb632e64b1680fdef03c9c4e112 Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2021-02-15 (Mon, 15 Feb 2021) Changed paths: M src/lxc/cgroups/cgfsng.c M src/lxc/cgroups/cgroup.h M src/lxc/conf.c Log Message: ----------- cgroups: pass handler to cgroup mount() method Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> Commit: 937a3af94e48b8f38ec0e717af456d4f11b7b9cc https://github.com/lxc/lxc/commit/937a3af94e48b8f38ec0e717af456d4f11b7b9cc Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2021-02-15 (Mon, 15 Feb 2021) Changed paths: M src/lxc/cgroups/cgfsng.c M src/lxc/start.h Log Message: ----------- cgroups: verify that we are actually running in cgroup namespace Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> Commit: e7e45fdffc6158974af96749aac04257790b65d8 https://github.com/lxc/lxc/commit/e7e45fdffc6158974af96749aac04257790b65d8 Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2021-02-15 (Mon, 15 Feb 2021) Changed paths: M src/lxc/cgroups/cgfsng.c M src/lxc/log.h Log Message: ----------- cgroups: improve cgroup mounting Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> Commit: 8cdbef77df69c0a4b7e6c351b7ba47ce06add3b1 https://github.com/lxc/lxc/commit/8cdbef77df69c0a4b7e6c351b7ba47ce06add3b1 Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2021-02-15 (Mon, 15 Feb 2021) Changed paths: M src/lxc/utils.c M src/lxc/utils.h Log Message: ----------- utils: add development helper to quickly dump a directories contents Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> Commit: cdd3b77d0ca6d32cd61e1149769673fb752965eb https://github.com/lxc/lxc/commit/cdd3b77d0ca6d32cd61e1149769673fb752965eb Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2021-02-15 (Mon, 15 Feb 2021) Changed paths: M src/lxc/cgroups/cgfsng.c Log Message: ----------- cgroups: make clear that a flag argument is passed to cgroup mount functions Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> Commit: 68599aab1055b27f3c29246f93c24ee32db44436 https://github.com/lxc/lxc/commit/68599aab1055b27f3c29246f93c24ee32db44436 Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2021-02-15 (Mon, 15 Feb 2021) Changed paths: M src/lxc/cgroups/cgfsng.c Log Message: ----------- cgroups: don't strip LXC_AUTO_CGROUP_FORCE Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> Commit: c581c8a365ea946570b7a8d9efbaf742855958f5 https://github.com/lxc/lxc/commit/c581c8a365ea946570b7a8d9efbaf742855958f5 Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2021-02-15 (Mon, 15 Feb 2021) Changed paths: M src/lxc/cgroups/cgfsng.c Log Message: ----------- cgroups: switch to flag-based checking Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> Commit: 6cc501f3e08c45aa6d5d99b6dc485aa65801c86a https://github.com/lxc/lxc/commit/6cc501f3e08c45aa6d5d99b6dc485aa65801c86a Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2021-02-15 (Mon, 15 Feb 2021) Changed paths: M src/lxc/conf.h Log Message: ----------- conf: remove wrong comment Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> Commit: 074af8903c5a2e6737be72403ae4dec310900ac0 https://github.com/lxc/lxc/commit/074af8903c5a2e6737be72403ae4dec310900ac0 Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2021-02-15 (Mon, 15 Feb 2021) Changed paths: M src/lxc/cgroups/cgfsng.c Log Message: ----------- cgroups: s/cg_mount_in_cgroup_namespace()/cgroupfs_mount()/g Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> Commit: 1411165033c4085c3ed1c1fef4657532ebf0821f https://github.com/lxc/lxc/commit/1411165033c4085c3ed1c1fef4657532ebf0821f Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2021-02-15 (Mon, 15 Feb 2021) Changed paths: M src/lxc/cgroups/cgfsng.c Log Message: ----------- cgroups: s/cg_mount_cgroup_full()/cgroupfs_bind_mount()/g Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> Commit: 80262447c9133c98f0c355ebb69112091e89ef95 https://github.com/lxc/lxc/commit/80262447c9133c98f0c355ebb69112091e89ef95 Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2021-02-15 (Mon, 15 Feb 2021) Changed paths: M src/lxc/cgroups/cgfsng.c Log Message: ----------- cgroups: fix flag checking in legacy mount paths Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> Commit: 6768700d24a8cab63ea0b839b5ef42fed4cb6c56 https://github.com/lxc/lxc/commit/6768700d24a8cab63ea0b839b5ef42fed4cb6c56 Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2021-02-15 (Mon, 15 Feb 2021) Changed paths: M src/lxc/cgroups/cgfsng.c Log Message: ----------- cgroups: strip LXC_AUTO_CGROUP_MIXED and LXC_AUTO_CGROUP_FULL_MIXED when cgroup namespaces are supported and used Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> Commit: 44234ae1e9014ec83fe3623ce386118a4a6040ff https://github.com/lxc/lxc/commit/44234ae1e9014ec83fe3623ce386118a4a6040ff Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2021-02-15 (Mon, 15 Feb 2021) Changed paths: M src/lxc/cgroups/cgfsng.c Log Message: ----------- cgroups: s/__cg_mount_direct()/__cgroupfs_mount()/g Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> Commit: 3a86fb378d0bab76d14788ed2487cc4ff5f4cd4a https://github.com/lxc/lxc/commit/3a86fb378d0bab76d14788ed2487cc4ff5f4cd4a Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2021-02-15 (Mon, 15 Feb 2021) Changed paths: M src/lxc/cgroups/cgfsng.c Log Message: ----------- cgroups: log early return Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> Commit: a3e5ec2657e90319f375b2494dd3870a2b53ca46 https://github.com/lxc/lxc/commit/a3e5ec2657e90319f375b2494dd3870a2b53ca46 Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2021-02-15 (Mon, 15 Feb 2021) Changed paths: M src/lxc/cgroups/cgfsng.c Log Message: ----------- cgroupfs: rework cgroup2 mounting We now explicitly refuse to mount cgroups on pure unified layouts when the container is not running in a separate cgroup namespace. This is not a regression since we simply always failed before anyway. I will likely fix this very soon though. But there are bigger fish to fry currently. Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> Commit: 7e925736c9111f2789900989af37546df4c5ce17 https://github.com/lxc/lxc/commit/7e925736c9111f2789900989af37546df4c5ce17 Author: Stéphane Graber <stgra...@ubuntu.com> Date: 2021-02-15 (Mon, 15 Feb 2021) Changed paths: M src/lxc/attach.c M src/lxc/cgroups/cgfsng.c M src/lxc/cgroups/cgroup.h M src/lxc/cgroups/cgroup_utils.h M src/lxc/conf.c M src/lxc/conf.h M src/lxc/log.h M src/lxc/lsm/apparmor.c M src/lxc/start.c M src/lxc/start.h M src/lxc/utils.c M src/lxc/utils.h M src/tests/lxc_raw_clone.c Log Message: ----------- Merge pull request #3673 from brauner/2021-02-15/nesting cgroups: first batch of cgroup mounting fixes Compare: https://github.com/lxc/lxc/compare/4b9467975c21...7e925736c911 _______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel