This consolidates mounting/unmounting in the chroot components in the distro plugins rather than have some handled by the volume plugin and some handled by the distro plugin.
In addition, it adds support for configurable use of umount --recursive, tries to unmount things if something goes wrong during chroot setup, and provides a cleaner view of open files in busy_mount when looking for open files against a bind mount that may have open handles outside the chroot.
This consolidates mounting/unmounting in the chroot components in the distro plugins rather than have some handled by the volume plugin and some handled by the distro plugin. In addition, it adds support for configurable use of
umount --recursive
, tries to unmount things if something goes wrong during chroot setup, and provides a cleaner view of open files inbusy_mount
when looking for open files against a bind mount that may have open handles outside the chroot.