Control: clone -1 -2 Control: reassign -2 util-linux Control: severity -2 important Control: affects -2 live-boot-initramfs-tools Control: retitle -1 live-boot-initramfs-tools: wrongly adds directories in /root to the PATH Control: retitle -2 util-linux: 'mount -o move' does not work with virtual filesystems
On Sat, 30 Apr 2016 16:07:25 +0200 Arjen Balfoort <arjenbalfo...@solydxk.com> wrote: [...] > mount: /dev is write-protected, mounting read-only > mount: /dev is not a block device > > The error is caused in >/usr/share/initramfs-tools/scripts/init-bottom/udev > Line: mount -n -o move /dev ${rootmnt}/dev [...] This is a side-effect of my change in busybox 1.22.0-19, but I don't think that change was wrong. live-boot-initramfs-tools adds directories under /root to $PATH, which was formerly harmelss but now actually does result in some commands being loaded from there. You must stop doing this; it is not supportable and I will not support it. In particular, this mount command now invokes util-linux's mount. That refuses to perform a move if the source filesystem was not mounted from a block device. There is no good reason for this and obviously it works with busybox and klibc's implementations of mount. Ben. -- Ben Hutchings If you seem to know what you are doing, you'll be given more to do.
signature.asc
Description: This is a digitally signed message part