Bug#987419: schroot: Incorrect mount/unmount binfmt handler sequence for start/stop schroot stages

2021-04-23 Thread Max A. Dednev
Package: schroot Version: 1.6.10-6+b1 Severity: important Dear Maintainer, I'm using schroot for building packages with sbuild using qemu-arm-static binfmt handler in chroot environment. /etc/setup.d/15binfmt handler script incorrectly tries to perform bind mount while schroot session is stoppin

schroot: fix binfmt unmount for setup-stop stage in schroot

2021-04-21 Thread Max A. Dednev
Hello, 15binfmt file obviously doesn't explicitly handle setup-stop stage. So it tries to perform bind mount while schroot is going to end session and this produces erroneous behavior in schroot --end-session --all-sessions command. My patch fixed this issue. -- Max A. Dednev +7(91