Dracut 111 + dash causes 3 minute initqueue timeout on boot

After upgrading to dracut 111, boot started hanging for about 3 minutes in dracut-initqueue. The system eventually boots, but logs show repeated messages like:

dracut-initqueue[370]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
dracut-initqueue[2406]: cat: /var/lib/dracut/hooks/initqueue/finished/devexists-/dev/disk/by-uuid/8899cea8-f2fa-4ae8-aeff-e1df71ee8b41.sh: No such file or directory
dracut-initqueue[370]: Warning: /var/lib/dracut/hooks/initqueue/finished/devexists-/dev/disk/by-uuid/8899cea8-f2fa-4ae8-aeff-e1df71ee8b41.sh: ""
dracut-initqueue[370]: Warning: dracut-initqueue: starting timeout scripts
dracut-initqueue[370]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:

I had add_dracutmodules+=" dash " in my dracut config. This appears to match upstream dracut issue #2439, where dash interprets \x2f in hook filenames and breaks initqueue completion checks. Removing dash from the initramfs or applying the proposed upstream fix eliminates the delay.


To apply the patch:

curl -L https://patch-diff.githubusercontent.com/raw/dracut-ng/dracut/pull/2453.patch | sudo patch -d /usr/lib/dracut/modules.d/80base -p3

Then rebuild your initramfs/UKI:

I can pull that into our package once it is merged upstream.