summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shutdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/shutdown b/shutdown
index fd88105..a9ac8c6 100644
--- a/shutdown
+++ b/shutdown
@@ -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