Public bug reported:

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.

** Affects: busybox (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  New

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to