pychroot
pychroot copied to clipboard
handle cleanup for signals we can catch
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 clean up the directory on exit.
Cleanup handled for SIGINT/SIGTERM via https://github.com/pkgcore/snakeoil/commit/f042a8c3a9c6908d24b45785362969be1037edd1. Next up is resending the signals to the child namespace if the parent process exits due to receiving these signals.