plymouth does not ask for LUKS password and does not change tty properly

Bug #1864586 reported by Matthew Ruffell
70
This bug affects 11 people
Affects Status Importance Assigned to Milestone
plymouth (Ubuntu)
Fix Released
High
Steve Langasek
Focal
Fix Released
High
Steve Langasek

Bug Description

I Installed focal from the daily-pending ISO image, timestamp 2020-02-21 07:52

In the installer I selected LVM + LUKS.

Upon reboot I am shown a text plymouth theme, which is an incorrect screen size and the LUKS password prompt is missing. See attached screenshot.

If you enter your LUKS key into the blank screen and press enter, boot continues but gets stuck at the end. plymouth does not transition to GDM. To get GDM to show, you need to switch to VT3 and back to VT1 with ctrl-alt-f3 and ctrl-alt-f1. GDM will then show and allow the user to log in.

I did some research, and it seems on focal, the default plymouth theme is bgrt, and is a part of the plymouth-theme-spinner package:

$ sudo update-alternatives --config default.plymouth
[sudo] password for ubuntu:
There are 2 choices for the alternative default.plymouth (providing /usr/share/plymouth/themes/default.plymouth).

  Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/share/plymouth/themes/bgrt/bgrt.plymouth 110 auto mode
  1 /usr/share/plymouth/themes/bgrt/bgrt.plymouth 110 manual mode
  2 /usr/share/plymouth/themes/ubuntu-logo/ubuntu-logo.plymouth 100 manual mode
$ sudo apt-file search /usr/share/plymouth/themes/bgrt/bgrt.plymouth
plymouth-theme-spinner: /usr/share/plymouth/themes/bgrt/bgrt.plymouth

plymouth-theme-spinner is not installed on eoan, and ubuntu-logo is the only theme installed on eoan.

I attempted to remove plymouth-theme-spinner and change the plymouth theme to ubuntu-logo, and it sort of works. plymouth can now change to GDM without having to swap VTs, but the screen is totally blank and there is no LUKS password prompt.

All of this is reproducible on a focal installed to KVM.

Tags: focal
Revision history for this message
Matthew Ruffell (mruffell) wrote :
Revision history for this message
Matthew Ruffell (mruffell) wrote :

$ sudo apt-cache policy plymouth
[sudo] password for ubuntu:
plymouth:
  Installed: 0.9.4git20200109-0ubuntu3
  Candidate: 0.9.4git20200109-0ubuntu3
  Version table:
 *** 0.9.4git20200109-0ubuntu3 500
        500 http://nz.archive.ubuntu.com/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status

My desktop PC and KVMs are effected.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in plymouth (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, could you add the journal log from a such boot to the bug?
Also provide plymouth debugging logs as explained on https://wiki.ubuntu.com/Plymouth#Enabling_Debugging

Changed in plymouth (Ubuntu):
importance: Critical → High
status: Confirmed → Incomplete
Revision history for this message
Matthew Ruffell (mruffell) wrote :

Attached is a standard journalctl with no additional debugging enabled.

Revision history for this message
Matthew Ruffell (mruffell) wrote :

Attached is journcalctl with plymouth:debug appended to the kernel command line.

Revision history for this message
Matthew Ruffell (mruffell) wrote :

Attached is plymouth debug logs.

Changed in plymouth (Ubuntu Focal):
status: Incomplete → Confirmed
Revision history for this message
William Grant (wgrant) wrote :

The prompt is visible if you hit Esc, and (at least sometimes?) shows up on the text theme when you hit Esc again. After entering the password, hitting Esc a couple of times gets you into the spinner theme.

Revision history for this message
William Grant (wgrant) wrote :

The problem is that the bgrt theme requires resources from /usr/share/plymouth/themes/spinner, but /usr/share/initramfs-tools/hooks/plymouth only copies in the default theme directory (bgrt) plus text as a fallback. Hacking the initramfs-tools hook to always include "spinner" in currthemes avoids the text splash, and gives a very pretty graphical password input instead.

Revision history for this message
William Grant (wgrant) wrote :

Which makes this, bug #1856712 and bug #1862485 duplicates, I think.

Steve Langasek (vorlon)
tags: removed: champagne
Changed in plymouth (Ubuntu Focal):
assignee: nobody → Steve Langasek (vorlon)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package plymouth - 0.9.4git20200109-0ubuntu3.2

---------------
plymouth (0.9.4git20200109-0ubuntu3.2) focal; urgency=medium

  * debian/patches/git_assert_fix.patch:
    - backport an assert fix from upstream git

 -- Sebastien Bacher <email address hidden> Tue, 03 Mar 2020 18:07:23 +0100

Changed in plymouth (Ubuntu Focal):
status: Confirmed → Fix Released
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.