mount from util-linux-ng breaks boot
|Reported by:||gwirth79@…||Owned by:||developers|
If the mount-utils package, which is a sub-package of util-linux-ng, is installed, the mount command it contains replaces the busybox version of mount.
The mount command in the mount-utils package is not able to properly move /proc, /sys, /tmp. This happens in the /bin/firstboot script in the pivot() function. This causes a boot failure because the ramdisk cannot be pivoted, leaving the system read-only.
Right now the work-around is to NOT install the mount-utils package. A possible fix would be to modify /sbin/firstboot to call the busybox mount command with the format:
busybox mount -o move /proc $1/proc
in the pivot() function.