diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-08-13 02:07:26 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-08-13 04:24:52 +0200 |
commit | f1f1adf36a8b5971a9eed5e737b256e548611969 (patch) | |
tree | 05134000536a8c3692ea3bd10603131eae2b573c /shutdown | |
parent | f3638aaa09370849f93567029066e0ff3a5426cc (diff) | |
download | mkinitcpio-f1f1adf36a8b5971a9eed5e737b256e548611969.tar.gz mkinitcpio-f1f1adf36a8b5971a9eed5e737b256e548611969.tar.xz |
shutdown: add hack workaround for broken dm/kernel
This is already fixed elsewhere, and eventually this hack needs to be
removed. However, for now, it seems that some kernels (3.4 and 3.0) will
hang on shutdown with the combination of systemd and lvm/crypt. Removing
evidence of udev being alive in /run seems to fix this.
Fixes FS#30995.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'shutdown')
-rw-r--r-- | shutdown | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -55,6 +55,10 @@ disassemble() { done } +# XXX: Discourage libdevmapper from thinking that udev +# might be in a useful state. FS#30995. +rm -rf /run/udev + printf '%s\n' 'Detaching loop devices.' for loop in loop*/loop; do |