summaryrefslogtreecommitdiffstats
path: root/debian/extra/initramfs-tools/scripts/init-bottom
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 03:52:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 03:52:36 +0000
commit73fcfd4b13d862fd05321b4fbe32ec52330fc936 (patch)
tree480aaca6aeb1d119745379e839360f8d5126136e /debian/extra/initramfs-tools/scripts/init-bottom
parentMerging upstream version 256. (diff)
downloadsystemd-73fcfd4b13d862fd05321b4fbe32ec52330fc936.tar.xz
systemd-73fcfd4b13d862fd05321b4fbe32ec52330fc936.zip
Merging debian version 256-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/extra/initramfs-tools/scripts/init-bottom')
-rwxr-xr-xdebian/extra/initramfs-tools/scripts/init-bottom/udev3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/extra/initramfs-tools/scripts/init-bottom/udev b/debian/extra/initramfs-tools/scripts/init-bottom/udev
index 73887ea..cb114b7 100755
--- a/debian/extra/initramfs-tools/scripts/init-bottom/udev
+++ b/debian/extra/initramfs-tools/scripts/init-bottom/udev
@@ -12,6 +12,9 @@ case "$1" in
esac
# Stop udevd, we'll miss a few events while we run init, but we catch up
+# Wait for current workers to stop (at most for a minute to avoid deadlocks)
+# otherwise there will be lock files left under /run/ (see: #1056564)
+udevadm settle --timeout=60
udevadm control --exit
# move the /dev tmpfs to the rootfs; fall back to util-linux mount that does