[pve-devel] [PATCH container 1/5] use final names for cgroup isolation

Wolfgang Bumiller w.bumiller at proxmox.com
Mon Apr 6 09:50:42 CEST 2020


See: https://github.com/lxc/lxc/pull/3353
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
---
 src/PVE/LXC.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 1c27a86..b4ffc9b 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -596,8 +596,8 @@ sub update_lxc_config {
 	# simply move the monitor outside:
 	$raw .= "lxc.cgroup.dir.monitor = lxc.monitor/$vmid\n";
 	# cgroup namespace separation for stronger limits:
-	$raw .= "lxc.cgroup.dir.payload = lxc/$vmid\n";
-	$raw .= "lxc.cgroup.dir.namespace = ns\n";
+	$raw .= "lxc.cgroup.dir.container = lxc/$vmid\n";
+	$raw .= "lxc.cgroup.dir.container.inner = ns\n";
     }
 
     die "missing 'arch' - internal error" if !$conf->{arch};
-- 
2.20.1





More information about the pve-devel mailing list