[arch-projects] [PATCH 4/7] udev: exit on shutdown
teg at jklm.no
Wed Oct 26 19:38:30 EDT 2011
udev was receiving some events (due to e.g. swapoff) on shutdown
that caused it to fork new processes. These then receivde TERM before
they could finish, and complained on the console.
In principle, I'm worried that, with the right ammonut of bad luck,
we could fork off some process at exactly the wrong time which escapes
the killall logic.
This, by the way, highlights the frailty of the killall stuff.
Signed-off-by: Tom Gundersen <teg at jklm.no>
rc.shutdown | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/rc.shutdown b/rc.shutdown
index 8363737..5928b2d 100755
@@ -19,6 +19,8 @@ run_hook shutdown_start
+status "Shutting down UDev" udevadm control --exit
status "Deactivating Swap" swapoff -a
# stop monitoring of lvm2 groups before unmounting filesystems
More information about the arch-projects