[Piuparts-devel] Bug#1018893: support for unshare in some form

Johannes Schauer Marin Rodrigues josch at debian.org
Mon Sep 5 06:52:13 BST 2022


Hi,

Quoting Helmut Grohne (2022-09-01 20:31:56)
> piuparts has a --existing-chroot option. Unfortunately, it doesn't exactly do
> what we need here. It uses the given directory as a template and tries to
> copy it. That is bound to fail as mmdebstrap has kindly mounted /sys and
> /proc and such. It would be nice if piuparts got some --use-existing option
> that would make it just use that chroot directly.

I just uploaded mmdebstrap 1.2.0 which adds a few more --skip options. The ones
that might be useful here are:

 - --skip=chroot/mount      -- don't mount anything
 - --skip=chroot/mount/proc -- only don't mount /proc
 - --skip=chroot/mount/sys  -- only don't mount /sys

Maybe this makes implementing this easier?

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20220905/bd75c531/attachment.sig>


More information about the Piuparts-devel mailing list