Marc Weber wrote: > So the question would turn into would it make sense to create a new tool > which (optionally cleans up) like this: > > with-mounts sys,proc,dev -- chroot ... > > There might be many use cases. > > I think there is interest. But I'm unsure where would be the place to > put such script. I hit this problem multiple times.
Are you aware of 'schroot'? It already does everything I think you are wanting to do. https://gitlab.com/codelibre/schroot https://packages.debian.org/sid/schroot It's very fancy. It mostly replaces the older 'dchroot' which is yet another utility in this topic space. https://packages.debian.org/sid/dchroot Bob
signature.asc
Description: PGP signature
