Hi,

On Mon, 18 May 2020 23:29:49 +0200 Aurelien Jarno <[email protected]> wrote:
> 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.

this sounds very similar to what is described in #950684 which is now
(hopefully) fixed in git. I never got to reproduce #950684 on my own system and
similarly, I also am unable to reproduce your problem. Thus, it would be
helpful if you could clone the git repository and from the master branch
execute:

    $ PERL5LIB=$(pwd)/lib bin/sbuild-createchroot --chroot-mode=unshare 
--make-sbuild-tarball ~/.cache/sbuild/sid-amd64.tar.gz sid `mktemp -d` 
http://deb.debian.org/debian/
    $ PERL5LIB=$(pwd)/lib bin/sbuild --chroot-mode=unshare -d sid hello

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to