[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#783291: /bin/touch is missing if built with BUSYBOX=n



Am 25.04.2015 um 14:44 schrieb Michael Biebl:
> On Sat, 25 Apr 2015 14:21:04 +0200 Michael Biebl <biebl@debian.org>
>> I can reproduce the missing /bin/touch if I build the initramfs without
>> busybox support. Can you check your /etc/initramfs-tools/initramfs.conf
>> if it contains BUSYBOX=n or if you have a snippet in
>> /etc/initramfs-tools/conf.d/ which sets BUSYBOX=n. Can you confirm, that
>> the missing /bin/touch is due to BUSYBOX=n?
> 
> I just tried to boot a system where the initramfs had been built with
> BUSYBOX=n. This failed miserably and ended in a kernel panic.
> 
> /init: exec: line 330: switch_root: not found
> [attempted to kill init ...]

Sorry, the correct line was 338 (screenshot attached).

I tried the same in a jessie VM using BUSYBOX=n, and there the system
booted correctly (aside from the missing flag files).
Apparently, /usr/share/initramfs-tools/init used the fallback to
run-init sucessfully.

I've compared the contents of the VM initramfs and the failing
initramfs, and I noticed that the failing initramfs ships /bin/busybox.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: