Am 02.05.2011 06:22, schrieb Dave Reisner:
> The settle is actually unnecessary here, as its called as part of the
> udev hook.  I don't see a need to call it twice.

https://projects.archlinux.org/mkinitcpio.git/commit/?id=3c6a2fab7e5a347d92bba152dca367fcbfabc3a6

It seems I forgot to add an explanation back then, but there were
problems when aborting while uevents were still active.

> On the other hand, I've
> notice that dracut makes the call 'udevadm control --stop-exec-queue'
> prior to shutting down udevd. Perhaps we should be using that instead?

No idea. We need to prevent races here. What we would need is an atomic
"settle and shut down" that doesn't queue any further events between
settling and the shutdown.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to