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

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: Christian Brauner <christian.brau...@ubuntu.com>
From 45fcfc2cab4cc8d7d1f1d13cec357853baa98517 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brau...@ubuntu.com>
Date: Fri, 27 Mar 2020 13:04:05 +0100
Subject: [PATCH] cgroup/init: close controllers file

Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com>
---
 lxd/cgroup/init.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lxd/cgroup/init.go b/lxd/cgroup/init.go
index 4044723a7f..6d04d33073 100644
--- a/lxd/cgroup/init.go
+++ b/lxd/cgroup/init.go
@@ -372,6 +372,7 @@ func init() {
                                }
                        }
                }
+               controllers.Close()
        }
 
        // Check for additional legacy cgroup features
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to