Nuno: your problem seems unrelated, please file another bug report if you didn't solve it yet.
I found a much better workaround for the problem. In an initramfs hook, I put the following code:
# Work around LP bug #696435 mkdir -p ${DESTDIR}/lib/udev/rules.d cat > ${DESTDIR}/lib/udev/rules.d/60-squashfs.rules <<EOF KERNEL=="nbd0", ENV{ID_FS_TYPE}="squashfs" EOF
This makes wait-for-root happy because it finds the ID_FS_TYPE of our root /dev/nbd0 device. No delays and no try_failure_hooks() anymore! :)
Nuno: your problem seems unrelated, please file another bug report if you didn't solve it yet.
I found a much better workaround for the problem. In an initramfs hook, I put the following code:
# Work around LP bug #696435 /lib/udev/ rules.d /lib/udev/ rules.d/ 60-squashfs. rules <<EOF FS_TYPE} ="squashfs"
mkdir -p ${DESTDIR}
cat > ${DESTDIR}
KERNEL=="nbd0", ENV{ID_
EOF
This makes wait-for-root happy because it finds the ID_FS_TYPE of our root /dev/nbd0 device.
No delays and no try_failure_hooks() anymore! :)