Comment 8 for bug 2045586

Revision history for this message
Emil Renner Berthing (esmil) wrote (last edit ): Re: livecd-rootfs uses losetup -P for theoretically reliable/synchronous partition setup but it's not reliable in noble

I don't have a good explanation, but in the past I've "fixed" such races by adding a `sync "$loop_device"` before using any of the newly created partitions. Maybe it's worth trying.