Skip to content
  • Harald Hoyer's avatar
    dracut-reencrypt: call "udevadm settle" once more · 16912823
    Harald Hoyer authored and Milan Broz's avatar Milan Broz committed
    Somehow testing in qemu resulted sometimes in an endless loop.
    Either the timing or the settle fixed the issue.
    When the VM was in an endless loop, an strace showed, that the first 512
    and 1024 of the crypt partition was read over and over. Either it was
    the udev blkid, or some device mapper udev rule.
    Maybe the reencrypt tool opens and closes the device fd, where the close
    triggers a udev blkid and causes the reencrypt tool to reread the device...
    Anyhow.. with this settle the issue was not seen anymore.
    16912823