The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/6955

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 46254cc13a81baa4957e303f4eddf5b848a4b2fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Fri, 28 Feb 2020 06:32:43 -0500
Subject: [PATCH] lxc/containers: Fix cgns-less fallback
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
---
 lxd/container_lxc.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lxd/container_lxc.go b/lxd/container_lxc.go
index 032dfca40d..9b13c10503 100644
--- a/lxd/container_lxc.go
+++ b/lxd/container_lxc.go
@@ -794,6 +794,8 @@ func (c *containerLXC) initLXC(config bool) error {
                } else {
                        mounts = append(mounts, "cgroup:mixed")
                }
+       } else {
+               mounts = append(mounts, "cgroup:mixed")
        }
 
        err = lxcSetConfigItem(cc, "lxc.mount.auto", strings.Join(mounts, " "))
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to