HomeFreeBSD

Fix Plymouth passphrase prompt in initramfs script

Description

Fix Plymouth passphrase prompt in initramfs script

Entering the ZFS encryption passphrase under Plymouth wasn't working
because in the ZFS initrd script, Plymouth was calling zfs via
"--command", which wasn't passing through the filesystem argument to
zfs load-key properly (it was passing through the single quotes around
the filesystem name intended to handle spaces literally,
which zfs load-key couldn't understand).

Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Garrett Fields <ghfields@gmail.com>
Signed-off-by: Richard Allen <belperite@gmail.com>
Issue #9193
Closes #9202

Details

Provenance
Richard Allen <33836503+belperite@users.noreply.github.com>Authored on Aug 27 2019, 8:44 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 27 2019, 8:44 PM
Parents
rGe7a2fa70c3b0: Fix deadlock in 'zfs rollback'
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGf335b8ffe178: Fix Plymouth passphrase prompt in initramfs script (authored by Richard Allen <33836503+belperite@users.noreply.github.com>).Aug 27 2019, 8:44 PM