Just got bit by this this morning.

Ben Hutchings said:
> busybox is not required by the default configuration.  See the NEWS
> file.

OK, I check the NEWS file.  That says (for 0.121~rc1):

> If initramfs-tools is configured to use busybox but it is not
> installed, mkinitramfs will now fail.

Next I check my /etc/initramfs-tools/initramfs.conf.  I have kept my
/etc/ in git with etckeeper since the system's initial install.  The
file has never been changed since the initial install (2014-03-27,
network-less standard base install from Debian 7.4.0 netinst CD ISO,
initramfs-tools-0.109.1; switched to testing later).

The initramfs.conf file says:

> # BUSYBOX: [ y | n ]
> #
> # Use busybox if available
> #
>
> BUSYBOX=y

Something does not make sense unless there is a typo, s/not/now/, in
Ben's initial comment.

I use the default initramfs.conf since my initial install.  I upgrade to
initramfs-tools 0.123 and stuff breaks.  You definitely have a non-clean
upgrade path here.

I'll fix my initramfs.conf manually but default setups that suddenly can
no longer create initramfs images is scary at best.

Please make the postinst modify initramfs.conf to disable busybox unless
available.  While at it, also update the comment.  Another option is to
really do what that comment says, i.e. fix initramfs-tools to test for
busybox at run-time if BUSYBOX=y and act as if BUSYBOX=n when not found.

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2       FLOSS Engineer -- EPSON AVASYS CORPORATION
       Free Software Foundation Associate Member since 2004-01-27
    Support Free Software                  https://my.fsf.org/donate
    Join the Free Software Foundation        https://my.fsf.org/join

Reply via email to