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

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: Thomas Hipp <thomas.h...@canonical.com>
From d2b201ceeca59b67b25544ecba4c6b1e634a5edf Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Fri, 6 Mar 2020 11:12:19 +0100
Subject: [PATCH] chroot: Remove obsolete code

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
---
 shared/chroot.go | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/shared/chroot.go b/shared/chroot.go
index 6002426..711b177 100644
--- a/shared/chroot.go
+++ b/shared/chroot.go
@@ -122,14 +122,6 @@ func moveMounts(mounts []ChrootMount) error {
                return err
        }
 
-       // Make sure /dev/fuse is unmounted
-       if lxd.PathExists("/dev/fuse") {
-               err = unix.Unmount("/dev/fuse", 0)
-               if err != nil {
-                       return errors.Wrap(err, "Failed to unmount /dev/fuse")
-               }
-       }
-
        return nil
 
 }
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to