plymouth: font missing at decrypt root prompt

Bug #2012670 reported by Tim Holmes-Mitra
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
plymouth (Ubuntu)
Fix Released
High
Sebastien Bacher

Bug Description

Fonts are missing (incorrectly displayed) at the plymouth splash screen when prompting for the luks decryption passphrase (ie just below the input box).

I have the same issue on my laptop (where this report has been generated) and my desktop (where the photo is from).

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: plymouth 22.02.122-3ubuntu1
ProcVersionSignature: Ubuntu 6.2.0-18.18-generic 6.2.6
Uname: Linux 6.2.0-18-generic x86_64
ApportVersion: 2.26.0-0ubuntu2
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Mar 23 19:40:58 2023
DefaultPlymouth: /usr/share/plymouth/themes/bgrt/bgrt.plymouth
InstallationDate: Installed on 2023-03-14 (9 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
MachineType: LENOVO 20XW0055UK
ProcCmdLine: BOOT_IMAGE=/vmlinuz-6.2.0-18-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.2.0-18-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
SourcePackage: plymouth
TextPlymouth: /usr/share/plymouth/themes/ubuntu-text/ubuntu-text.plymouth
UpgradeStatus: Upgraded to lunar on 2023-03-22 (1 days ago)
dmi.bios.date: 02/09/2023
dmi.bios.release: 1.59
dmi.bios.vendor: LENOVO
dmi.bios.version: N32ET83W (1.59 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20XW0055UK
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.33
dmi.modalias: dmi:bvnLENOVO:bvrN32ET83W(1.59):bd02/09/2023:br1.59:efr1.33:svnLENOVO:pn20XW0055UK:pvrThinkPadX1CarbonGen9:rvnLENOVO:rn20XW0055UK:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20XW_BU_Think_FM_ThinkPadX1CarbonGen9:
dmi.product.family: ThinkPad X1 Carbon Gen 9
dmi.product.name: 20XW0055UK
dmi.product.sku: LENOVO_MT_20XW_BU_Think_FM_ThinkPad X1 Carbon Gen 9
dmi.product.version: ThinkPad X1 Carbon Gen 9
dmi.sys.vendor: LENOVO

Revision history for this message
Tim Holmes-Mitra (timhm) wrote :
description: updated
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
Carlos Nihelton (cnihelton) wrote :

I got squares on my prompt. I use ZFS on root with native encryption. The new font is missing in the initramfs.

lsinitramfs -l /boot/initrd.img-6.2.0-18-generic | grep font | grep ubuntu
drwxr-xr-x 2 root root 0 Mar 23 17:26 usr/share/fonts/truetype/ubuntu

After updating the plymouth hook `/usr/share/initramfs-tools/hooks/plymouth` to copy the new font files (lines 138 to 143) I got the expected behavior.

lsinitramfs -l /boot/initrd.img-6.2.0-18-generic | grep font | grep ubuntu
drwxr-xr-x 2 root root 0 Mar 23 17:58 usr/share/fonts/truetype/ubuntu
-rw-r--r-- 1 root root 171816 Nov 21 16:54 usr/share/fonts/truetype/ubuntu/UbuntuMono-Italic[wght].ttf
-rw-r--r-- 1 root root 685020 Nov 21 16:54 usr/share/fonts/truetype/ubuntu/Ubuntu[wdth,wght].ttf

Thanks @seb128 for the guidance.

Changed in plymouth (Ubuntu):
milestone: none → ubuntu-23.04-beta
importance: Undecided → High
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in plymouth (Ubuntu):
assignee: nobody → Sebastien Bacher (seb128)
status: Confirmed → In Progress
status: In Progress → Fix Committed
Changed in plymouth (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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