The shm_overview(7) man page does say that it always uses a tmpfs filesystem, so does that mean that there is no way for /dev/shm to be a unmounted-over directory holding valuable shm state?
In any case, both your code in comment #21 and the update you propose there would suffice to fix the bug in debootstrap creating images not usable in a chroot/container.
Comment #20 looks very much correct.
The shm_overview(7) man page does say that it always uses a tmpfs filesystem, so does that mean that there is no way for /dev/shm to be a unmounted-over directory holding valuable shm state?
In any case, both your code in comment #21 and the update you propose there would suffice to fix the bug in debootstrap creating images not usable in a chroot/container.