[buildd-tools-devel] Bug#802849: Bug#802849: schroot: please allow to unshare the network
Johannes Schauer
josch at debian.org
Sat Oct 24 08:57:07 UTC 2015
Hi Roger,
Quoting Roger Leigh (2015-10-24 10:31:06)
> > So could schroot instead get an option like --unshare-net which, while
> > schroot still has root privileges makes an unshare(CLONE_NEWNET) and then
> > runs `ip link set lo up` to activate the loopback interface?
>
> The code already exists on the master branch.
>
> https://github.com/codelibre-net/schroot/blob/master/lib/schroot/chroot/facet/unshare.cc
>
> https://github.com/codelibre-net/schroot/blob/master/etc/setup.d/60unshare
>
> You just run with "-o unshare.net=true" and it will be done.
that's awesome news!! Thanks a lot for it :)
I'll create an sbuild bug now to make use of this future feature and make it be
blocked by this bug.
Thanks again!
cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20151024/707c3a57/attachment.sig>
More information about the Buildd-tools-devel
mailing list