Bug#908796: udev (with sysvinit) fails to find devices at boot

Trek trek00 at inbox.ru
Sat Sep 15 05:28:10 BST 2018


On Thu, 13 Sep 2018 19:02:26 -0700
Bill Brelsford <wb at k2di.net> wrote:

> With the --background argument, a race condition exists and
> "udevadm trigger" starts too soon.
> A workaround is to add a short sleep:

can you try if this patch fixes the problem?
my system is not affected so I can't check

thank you!


the sleep timeout could be different depending on the hardware, so it
checks every second if udev is ready, up to 15 seconds

it seems to be there is no reliable method to know if udev is running
fine, so it calls udevadm control -S, that it's essentially a no-op
when udev is just started, but at least it checks if the control socket
is listening

ciao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: systemd-trigger-wait.patch
Type: text/x-patch
Size: 1336 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20180915/8b736d87/attachment.bin>


More information about the Pkg-systemd-maintainers mailing list