[Bug 1822730] Re: Disco server install fails to boot using encrypted partitions

Launchpad Bug Tracker 1822730 at bugs.launchpad.net
Thu Apr 4 14:45:56 UTC 2019


This bug was fixed in the package busybox - 1:1.27.2-2ubuntu7

---------------
busybox (1:1.27.2-2ubuntu7) disco; urgency=medium

  * Enable fold in busybox-initramfs, as it appears that
    initrmafs-tools-core now uses that variant of busybox, instead of
    busybox-static or busybox. Also, potentially cryptsetup dependencies
    on busybox-static|busybox are now meaningless. LP: #1822730

 -- Dimitri John Ledkov <xnox at ubuntu.com>  Thu, 04 Apr 2019 12:50:59
+0100

** Changed in: busybox (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to busybox in Ubuntu.
https://bugs.launchpad.net/bugs/1822730

Title:
  Disco server install fails to boot using encrypted partitions

Status in busybox package in Ubuntu:
  Fix Released

Bug description:
  Performing a fresh Disco (daily build from 2019-03-31) server install
  with / mounted from LVM over dm-crypt (over mdadm), the boot fails
  just after asking the encrypted partition passphrase with the
  following error:

  /scripts/local-top/cryptroot: line 1: fold: not found

  Building a custom busybox package with "fold" binary enabled for
  busybox-initramfs and busybox-static configs fixes the issue.

  Diff from debian/ directory:

  diff --git a/config/pkg/initramfs b/config/pkg/initramfs
  index 2ef98e5..5725daf 100644
  --- a/config/pkg/initramfs
  +++ b/config/pkg/initramfs
  @@ -228,7 +228,7 @@ CONFIG_EXPR=y
   CONFIG_EXPR_MATH_SUPPORT_64=y
   # CONFIG_FACTOR is not set
   CONFIG_FALSE=y
  -# CONFIG_FOLD is not set
  +CONFIG_FOLD=y
   # CONFIG_FSYNC is not set
   # CONFIG_HEAD is not set
   # CONFIG_FEATURE_FANCY_HEAD is not set
  diff --git a/config/pkg/udeb b/config/pkg/udeb
  index 7538ae5..f9a6d4c 100644
  --- a/config/pkg/udeb
  +++ b/config/pkg/udeb
  @@ -228,7 +228,7 @@ CONFIG_EXPR=y
   CONFIG_EXPR_MATH_SUPPORT_64=y
   # CONFIG_FACTOR is not set
   CONFIG_FALSE=y
  -# CONFIG_FOLD is not set
  +CONFIG_FOLD=y
   # CONFIG_FSYNC is not set
   CONFIG_HEAD=y
   CONFIG_FEATURE_FANCY_HEAD=y

  It might be enough to add "fold" to the initramfs variant only.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1822730/+subscriptions



More information about the foundations-bugs mailing list