[Piuparts-devel] RFC: getting a shell in the piuparts environment

Andreas Beckmann anbe at debian.org
Mon May 2 07:17:34 UTC 2016


in branch preview/enter you can find a patch to get an interactive shell
in the piuparts chroot for debugging a failure

command line parameter is open for discussion

this is run from Chroot.remove(), and rather useless if called after a
successful test or after creating the reference chroot for a
dist-upgrade test, but it's helpful if called during the execution of
the panic handler. I don't know how to properly distinguish these two
cases though. (it could be --enter-on-error in that case instead)

does not work if piuparts is run under timeout

theoretically we could allow this at different places, too
e.g. for distupgrades to perform some manual modifications before
distupgrading to the next release. It may be easier to test something
interactively before putting it into a script


More information about the Piuparts-devel mailing list