:: [devuan-dev] bug#483: eudev: eudev …
Startseite
Nachricht löschen
Nachricht beantworten
Autor: fsmithred
Datum:  
To: 483
Betreff: [devuan-dev] bug#483: eudev: eudev sometimes fails to generate initial hotplug events
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 $?



This fixes a problem I'm having with live-isos booted from optical media.
It boots, but many kernel modules are missing. I used a 10-second sleep to
test, and it works.

For live-isos, the workaround I used was to stop and start eudev in
/etc/rc.local. Here's discussion about that:
https://dev1galaxy.org/viewtopic.php?pid=22137#p22137

fsmithred