Package: sbuild
Version: 0.79.1-1
Severity: normal

Hi,

I have tried to get sbuild working in unshare mode. Here are the steps I
have followed, from what I understood they should be sufficient:

sudo sysctl kernel.unprivileged_userns_clone=1
sbuild-createchroot --chroot-mode=unshare --make-sbuild-tarball 
~/.cache/sbuild/sid-amd64.tar.gz sid `mktemp -d` http://deb.debian.org/debian/
sbuild -d sid hello

The last step is unsuccessful, it seems to fail to execute any comment.
I have attached the output of the last command running with debug in
case it could help.

I have also tried to unpack the tarball and run the following command:
unshare -f -U -r -p -m --mount-proc -R sid

It works find, so it seems to show that the chroot creating is not
totally broken.

Thanks,
Aurelien

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to