Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#28937 - [mkinitcpio-busybox] mount applet not compiled into busybox
Attached to Project:
Arch Linux
Opened by Ted Pavlic (tpavlic) - Friday, 16 March 2012, 02:20 GMT
Last edited by Dave Reisner (falconindy) - Friday, 16 March 2012, 04:05 GMT
Opened by Ted Pavlic (tpavlic) - Friday, 16 March 2012, 02:20 GMT
Last edited by Dave Reisner (falconindy) - Friday, 16 March 2012, 04:05 GMT
|
DetailsDescription: After mkinitcpio-busybox was updated on March 14, I ran a mkinitcpio -p linux and rebooted. I was shocked to find that my system would not boot. In particular, the /init script generated several "command not found" errors every time it tried to mount. After further investigation, I found that busybox did not provide a mount. Doing a "strings busybox|grep mount" reveals only umount.
Consequently, filesystems cannot be mounted with this version of busybox. Additional info: * mkinitcpio-busybox 1.19.4-2 Steps to reproduce: mkinitcpio -p linux reboot On reboot, file systems will fail to mount because "mount" will not be in the init file system. Moreover, if you try to symlink mount to busybox, you won't get mount functionality ("applet not found"). Doing a "strings busybox" reveals that no mount is present inside busybox. |
This task depends upon
Something changed on March 14 that removed mount from the initfs. Maybe the problem is in mkinitcpio and not mkinitcpio-busybox?
Feel free to post your /var/log/pacman.log.
I was able to shell into a remote machine running Arch Linux ARM. I can verify that mkinitcpio-busybox 1.19.2-1 on that system has mount included within it (that is "strings /lib/initcpio/busybox|grep mount" shows me that both mount and umount are included, whereas "strings busybox" on my dead system only shows me umount).
All I know is that last night, I did a
pacman -Syu
and I noticed that a new mkinitcpio was downloaded. I also noticed new hooks were added because mkinitcpio.conf was updated. I merged the changes in from mkinitcpio.conf.pacnew and ran
mkinitcpio -p linux
which completed without any errors. I shut the machine down last night. When I turned it back on tonight, I found myself stuck in the middle of the /init script because mount wasn't found.
mkinitcpio -p linux
I was able to verify (with lsinitcpio) that mount was included in the new initramfs. I then rebooted and the system came up.
Could mkinitcpio -p linux have had an error copying files last night but not report it during the base hook?