> + sleep 1s
> log_action_begin_msg "Synthesizing the initial hotplug events"
> if udevadm trigger --action=add; then
> log_action_end_msg $?
> I just did another 5 boots and this patch indeed seems to fully fix the
> problem in my case.
> If this does not work for you, maybe you need a longer delay? If you
> boot from CD-ROM, then eudev (or other background processes) requiring
> some random seeks during startup may easily exceed 1s.
> Does manually running 'udevadm trigger --action=add' after startup
> mitigate the problem in your case?
Yes, running 'udevadm trigger --action=add' after startup works.
Adding 'sleep 10' where you put it also works. I had previously tried
putting it at the end of the start case, and that didn't work.
This message was posted to the following mailing lists: