Thanks.
1) Following line in debian/tests/unshare will break Debian (since the script runs with "set -e"):
[ "$distro" = ubuntu ] && umask 022
Either use || or an if-clause. Besides that, you can just source /etc/os-release and then use the ID variable.
2) Running the unshare autopkgetest with a kinetic schroot fails:
autopkgtest [12:48:47]: test unshare: [----------------------- + [ -z x ] + grep -q ^1$ /proc/sys/kernel/unprivileged_userns_clone + dpkg --print-architecture [...] + mmdebstrap --mode=unshare --variant=apt kinetic /tmp/autopkgtest.4hxHnh/autopkgtest_tmp/chroot.tar W: unshare syscall failed: Operation not permitted
Does it need more checks or does it need to declare to be better isolated?
Thanks.
1) Following line in debian/ tests/unshare will break Debian (since the script runs with "set -e"):
[ "$distro" = ubuntu ] && umask 022
Either use || or an if-clause. Besides that, you can just source /etc/os-release and then use the ID variable.
2) Running the unshare autopkgetest with a kinetic schroot fails:
autopkgtest [12:48:47]: test unshare: [------ ------- ------- --- kernel/ unprivileged_ userns_ clone architecture t.4hxHnh/ autopkgtest_ tmp/chroot. tar
+ [ -z x ]
+ grep -q ^1$ /proc/sys/
+ dpkg --print-
[...]
+ mmdebstrap --mode=unshare --variant=apt kinetic /tmp/autopkgtes
W: unshare syscall failed: Operation not permitted
Does it need more checks or does it need to declare to be better isolated?