[reprotest] 01/01: build: add comment that util-linux confirmed bug in nsenter, awaiting fix

Ximin Luo infinity0 at debian.org
Mon Nov 6 10:56:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository reprotest.

commit 6228971622a6a857d3947647d809ddd19cb2b5f6
Author: Ximin Luo <infinity0 at debian.org>
Date:   Mon Nov 6 11:56:15 2017 +0100

    build: add comment that util-linux confirmed bug in nsenter, awaiting fix
---
 reprotest/build.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/reprotest/build.py b/reprotest/build.py
index ae4de62..201ce8c 100644
--- a/reprotest/build.py
+++ b/reprotest/build.py
@@ -230,10 +230,8 @@ def domain_host(ctx, build, vary):
         _ = _.prepend_cleanup_exec('sudo', 'umount', ns_mnt)
         _ = _.prepend_cleanup_exec('sudo', 'umount', ns_uts)
         # configure our unshare
-        # --root=/ is needed when running nsenter inside schroot, otherwise it defaults to the
-        # host root. But then there is a further error because /proc/self/mounts is empty.
-        # possibly it's a bug, maybe follow it up
-        # It works if we replace the below with a single "unshare (huge script)" but that's not possible to add to sudoers
+        # FIXME: this does not work in nsenter due to a bug, upstream is working on a fix
+        # https://www.spinics.net/lists/util-linux-ng/msg14759.html
         nsenter = ['sudo', 'nsenter'] + ns_args
         _ = _.append_setup_exec(*nsenter, 'hostname', hostname)
         _ = _.append_setup_exec(*nsenter, 'domainname', domainname)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reprotest.git



More information about the Reproducible-commits mailing list