dirname applet missing from initramfs
Bug #1960083 reported by
William Wilson
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
busybox (Ubuntu) |
Fix Released
|
High
|
William Wilson | ||
zfs-linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The initramfs is currently being built without the dirname applet. This is causing issues with zfs encrypted devices, as cryptsetup is attempting to use dirname to determine the location of the system key. This results in the following error:
/init: line 971: dirname: not found
followed by a prompt that is missing the zpool name. For example
"Please unlock disk keystore-" rather than "Please unlock disk keystore-rpool".
After entering the password, the user is dropped to an initramfs shell.
It appears that this was caused by a change in cryptsetup to suddenly need dirname to function properly.
This seems to have been as simple as updating the config file for the initramfs to include CONFIG_DIRNAME=y