Thanks for turning that around so fast! On /run/udev, the commit that added it (a03e71b12a) closes #925247, where the symptom was lvm2's postinst hanging because it couldn't reach /run/udev inside /target. So the test is whether lvm2 still does that.
Possibly relevant: both that mount and the /dev bind mount sit inside if [ -f /etc/init.d/udev ]. That condition is really a sysvinit proxy, on a systemd host the file doesn't exist. That means fai-diskimage on a modern systemd host has never had /run/udev in the target. If people are building LVM images that way without hangs, that is some evidence the lvm2 problem has aged out. If you would like, I can attempt to test since my test environment run sysvinit. On Fri, Sep 25, 2026, at 05:54, Thomas Lange wrote: > > > A minimal fix would be to stop rm crossing the mount boundary: > > > rm -rf --one-file-system $mnt > > Thanks for the detailed description. This is now applied. See > https://salsa.debian.org/fai-team/fai/-/commit/743de14d4b4dc3b2f85393e613bccf5ba8d184f6 > > > I'm not sure if bind mounting $target/run/udev is still needed. Do you > think we can remove it from updatebase? > > -- > regards Thomas > Thanks --MKL

