]> err.no Git - systemd/commit
udevd: exit - process events before signals in worker
authorSteve Langasek <steve.langasek@canonical.com>
Sat, 8 Oct 2011 09:14:09 +0000 (02:14 -0700)
committerKay Sievers <kay.sievers@vrfy.org>
Sat, 8 Oct 2011 13:02:38 +0000 (15:02 +0200)
commit7944a13a2b8516d5fa354703789f5988cb4299b6
treed5fcb33a742c481a308e950ac3f1ba0c55e43cc7
parentdd2247464f56f0cffe92250bb107e97477effbc2
udevd: exit - process events before signals in worker

When a worker receives both a signal and a udev event in the same epoll_wait
run, the event must be processed first because the udev parent considers the
event already dispatched.  If we process the signal first and exit, udevd
times out after 60 seconds waiting for a response from an already-dead
worker.

Ref: https://bugs.launchpad.net/bugs/818177
Signed-off-by: Steve Langasek <steve.langasek@canonical.com>
udev/udevd.c