On 6/15/20 12:15 PM, David Kuehling wrote:
> 
> This is my diff:
> 
> --- /etc/init.d/eudev 2019-02-09 13:22:24.000000000 +0100
> +++ /tmp/eudev        2020-06-15 17:59:00.384481497 +0200
> @@ -210,6 +210,7 @@
>       sleep 15
>      fi
>  
> +    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?
> 
> David
> 

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.

fsmithred

Attachment: 0xA73823D3094C5620.asc
Description: application/pgp-keys

_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to