Package: udev Version: 232-3 Severity: normal Dear Maintainer,
Due to a recent change in busybox and initramfs-tools, the mount utility in the initramfs now comes from util-linux rather than busybox. scripts/init-bottom/udev calls "mount -o move", which was supported by busybox's mount but not by util-linux's mount. See the following for the full discussion: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823856 This causes an error and a failure to boot when using virtual file systems. Both utilities support "mount --move", so attached is a patch that implements this small change. I've successfully used this change to get our squashfs based image working again. Thank you! Kind regards, Luca Boccassi From 34addb1aeae38026b1f8a451a99d1bde4d922da7 Mon Sep 17 00:00:00 2001 From: Luca Boccassi <luca.bocca...@gmail.com> Date: Fri, 18 Nov 2016 20:09:58 +0000 Subject: [PATCH] Use mount --move in initramfs-tools udev script Due to recent changes in busybox and initramfs-tools the mount utility is no longer the one from busybox but from util-linux. The latter does not support mount -o move. The former supports both -o move and --move, so use it instead to be compatible with both. See this discussion for more details: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823856 --- debian/extra/initramfs-tools/scripts/init-bottom/udev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/extra/initramfs-tools/scripts/init-bottom/udev b/debian/extra/initramfs-tools/scripts/init-bottom/udev index 81081e3..e997380 100755 --- a/debian/extra/initramfs-tools/scripts/init-bottom/udev +++ b/debian/extra/initramfs-tools/scripts/init-bottom/udev @@ -15,7 +15,7 @@ esac udevadm control --exit # move the /dev tmpfs to the rootfs -mount -n -o move /dev ${rootmnt}/dev +mount -n --move /dev ${rootmnt}/dev # create a temporary symlink to the final /dev for other initramfs scripts if command -v nuke >/dev/null; then -- 2.1.4
signature.asc
Description: This is a digitally signed message part