[patch] fix remote unlock of encrypted root with plymouth installed

Bug #1431039 reported by Maddes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cryptsetup
New
Undecided
Unassigned

Bug Description

The cryptroot script always uses plymouth if present (plymouth is installed by default on Ubuntu).
Unfortunately this prevents to unlock an encrypted root from console (e.g. via SSH).

Changes in /usr/share/initramfs-tools/scripts/local-top/cryptroot
- new parameter "noplymouth": possible to use during boot time to avoid usage of plymouth even if present
- kill all processes which ask for password after encrypted root is available

New file /usr/share/initramfs-tools/hooks/cryptroot_unlock.sh
- creates /bin/unlock script in initramfs to define correct PATH and call cryptroot script with correct parameter
- creates /etc/motd file in initramfs to inform user about unlock script

Kind regards
Maddes

Revision history for this message
Maddes (maddes.b) wrote :
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.