On 04/20/2017 08:34 PM, Marga Manterola wrote: >> After a lot of debugging with Philipp Kern, we were able to find out > that dmsetup was hanging on a udev cookie semaphore. The udev outside > of the chroot is compiled udev_sync, and it doesn't have dmsetup rules, > so it seems that it's not sending the dmsetup udevcomplete signal and > thus dmsetup hangs forever. Another possible workaround then is to send > the right dmsetup udevcomplete signal, and then installation proceeds.
One small correction: The *dmsetup* outside of the chroot is compiled *without* udev_sync as it's coming from the udeb. It also doesn't ship with 55-dm.rules so it wouldn't call `dmsetup udevcomplete' even if it were compiled with udev_sync. Kind regards Philipp Kern