Source: debootstrap Version: 1.0.118 Severity: important Back in 2017, I added an autopkgtest to debootstrap. One of the things that it does is to run a simplified version of schroot, to make sure that a chroot produced by debootstrap is usable by schroot - in other words, to make sure the debootstrap RC bug #817236 does not regress.
Since commit add2cf76, the script debian/tests/fake/schroot-1.6.10-3 bind-mounts /dev/ptmx onto $chroot/dev/ptmx. While I'm sure this would be a sensible thing to do, the entire purpose of that test script is that it behaves like schroot 1.6.10-3, so any difference in behaviour between schroot 1.6.10-3 and that script is a bug in that script. I believe the current QA uploads of schroot still have the same behaviour as 1.6.10-3. If they do not, we should add a debian/tests/fake/schroot-1.6.10-11 with the new behaviour. If you want a test script that behaves like schroot *should* behave, that already exists, as debian/tests/fake/schroot-proposed, which emulates the behaviour that I asked for in schroot bug #856877. However, until we have a stable release in which #856877 has been fixed in schroot, I think debootstrap should still have test coverage to make sure that it doesn't break older schroot versions. smcv