[pkg-cryptsetup-devel] Bug#812120: update-initramfs fails if busybox is not installed

Ben Hutchings ben at decadent.org.uk
Wed Jan 20 23:35:09 UTC 2016


Control: unmerge -1
Control: close -1

On Thu, 2016-01-21 at 01:35 +0300, Evgeny Kapun wrote:
> On 21.01.2016 01:16, Ben Hutchings wrote:
> > Control: reassign -1 cryptsetup
> > Control: forcemerge 783297 -1
> > 
> > On Thu, 2016-01-21 at 00:56 +0300, Evgeny Kapun wrote:
> > > On 20.01.2016 22:41, Ben Hutchings wrote:
> > > > On Wed, 2016-01-20 at 22:21 +0300, Evgeny Kapun wrote:
> > > > > Package: initramfs-tools-core
> > > > > Version: 0.121
> > > > > 
> > > > > If I try to run update-initramfs while busybox is not installed, I get an error message:
> > > > > 
> > > > >        E: busybox is required but not installed
> > > > >        E: /usr/share/initramfs-tools/hooks/busybox failed with return 1.
> > > > > 
> > > > > This happens irrespective of the BUSYBOX setting in /etc/initramfs-tools/initramfs.conf.
> > > > 
> > > > You have another package installed (maybe cryptsetup) that requires
> > > > busybox to work in the initramfs.
> > > > 
> > > > Try this:
> > > > 
> > > >       grep -r BUSYBOX /usr/share/initramfs-tools/conf-hooks.d
> > > > 
> > > > Ben.
> > > 
> > > Yes, I have cryptsetup installed, but this problem appeared only
> > > after upgrading initramfs-tools to version 0.121.
> > 
> > This change is related to #783297.  cryptsetup *requires* busybox in
> > the initramfs.  If you don't have an encrypted root or /usr then you
> > can get away without it.  Assuming that's the case, I'm reassigning
> > this to cryptsetup as there is an existing request to separate out the
> > initramfs support.
> > 
> > Ben.
> 
> Hmm... I have an encrypted root, and it works somehow without busybox.

Well it's not expected to work, so the change to require busybox is
intentional and not a bug.  It is described in the NEWS for initramfs-
tools.

Ben.

-- 
Ben Hutchings
The program is absolutely right; therefore, the computer must be wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20160120/c3e1a65e/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list