pychroot
pychroot copied to clipboard
a python library and cli tool that simplify chroot handling
I tried to run pychroot 0.10.4 inside a context manager that mounts and umounts a filesystem using `subprocess.run`, and the result is odd: the unmount call fails because the filesystem...
Hi I am currently trying to use your module to bootstrap distributions. I am using a Popen wrapper to run the commands in the chroot. The command run successfully but...
We should leave a notice in the README about Debian hardening regarding userns. To enable, we need to: ``` echo 1 > /proc/sys/kernel/unprivileged_userns_clone ``` and make it persistant using: ```...
Hi, I am trying to run some code using pychroot. Even if i add mountpoints, trying to run anything using `subprocess.run()` end with an error: `FileNotFoundError: [Errno 2] No such...
Some native python lib like pyroute2 should probably get us most of the way there in terms of support for setting up loopback and virtual interfaces as well as providing...
For example, currently if a directory has to be created for a bind mount and then the process is sent a signal such as TERM or INT, we don't currently...
It would also be good to officially document what fields the mountpoints argument supports as well.
This could do useful things by mapping files to overlay onto the chroot image. For example, there could be distro-specific plugins that could query the host systems pkgs and thereby...
It could help simplify long custom bind mount lists that are used multiple for various chroots instead of having to rely on shell history. It would probably be easiest to...