From 9242f5ff67d9efd227e985063e5ff0ea91269d2e Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 15 Apr 2016 17:51:10 -0400 Subject: librechroot: run mkarchroot in its own mount namespace. Fixes https://labs.parabola.nu/issues/667 --- src/chroot-tools/librechroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot index ba722c7..a688b85 100755 --- a/src/chroot-tools/librechroot +++ b/src/chroot-tools/librechroot @@ -66,7 +66,7 @@ arch-nspawn() { mkarchroot() { local copydir=$1; shift local pkgs=("$@") - "$_mkarchroot" \ + unshare -m "$_mkarchroot" \ ${arch_nspawn_flags+"${arch_nspawn_flags[@]}"} \ "$copydir" \ "${pkgs[@]}" -- cgit v1.2.3-54-g00ecf