[arch-projects] [RFC] [PATCH] [mkinitcpio] Cleanly stop udev >= 168 as recommended by upstream.

Thomas Bächler thomas at archlinux.org
Mon May 2 04:51:57 EDT 2011

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.


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-projects/attachments/20110502/721b0734/attachment.asc>

More information about the arch-projects mailing list