[Bug 1974177] Re: Please merge sbuild 0.83.1 from Debian unstable

Benjamin Drung 1974177 at bugs.launchpad.net
Wed Jun 15 11:01:43 UTC 2022


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?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sbuild in Ubuntu.
https://bugs.launchpad.net/bugs/1974177

Title:
  Please merge sbuild 0.83.1 from Debian unstable

Status in sbuild package in Ubuntu:
  Confirmed

Bug description:
  Please merge sbuild 0.83.1 from Debian unstable.

  Updated changelog and diff against Debian unstable to be attached
  below.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sbuild/+bug/1974177/+subscriptions




More information about the foundations-bugs mailing list