[Bug 1651818] Re: busybox-initramfs needs different compile options to work with cryptroot-unlock
Mark Foster
mark at g.foster.cc
Tue Apr 17 19:58:22 UTC 2018
Still an issue in bionic final beta....
To unlock root partition, and maybe others like swap, run `cryptroot-
unlock`
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3) built-in shell (ash)
Enter 'help' for a list of built-in commands.
# cryptroot-unlock
ps: invalid option -- 'e'
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3) multi-call binary.
Usage: ps
Show list of processes
w Wide output
l Long output
/bin/cryptroot-unlock: line 186: usleep: not found
--
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/1651818
Title:
busybox-initramfs needs different compile options to work with
cryptroot-unlock
Status in busybox package in Ubuntu:
Confirmed
Status in cryptsetup package in Ubuntu:
Confirmed
Bug description:
The cryptroot-unlock script in the cryptsetup package does not work in initramfs.
It fails because "ps -e" is not available in busybox for initramfs.
When building the package with
CONFIG_DESKTOP=y
CONFIG_EXTRA_COMPAT=y
the needed commands (ps, grep) with parameter are there and it works.
Tetsted on Ubuntu GNOME 16.10.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1651818/+subscriptions
More information about the foundations-bugs
mailing list