Comment 13 for bug 28439

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Ok, well at least it's been tracked down.

The USB detection can't be moved into the background because we need to do it before we mount the root filesystem for two reasons:

  1) the root filesystem might be on USB
  2) if it fails, you might need your keyboard

And even it was "backgrounded" (ie. we didn't wait for udevd's queue to become empty) it would be instantly foregrounded when we wanted for the filesystem hardware events.

But no matter, it actually looks to me like the device isn't even appearing in the udevd queue until after the wait is over (otherwise you'd be stuck in initramfs for a while) and is just there being processed when udevd gets killed.