Bug 404238 - LVM decryption prompt missing text on boot since Plasma 5.15 upgrade
Summary: LVM decryption prompt missing text on boot since Plasma 5.15 upgrade
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Scarlett Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-12 13:50 UTC by Nick
Modified: 2019-02-12 15:08 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: unstable
Sentry Crash Report:


Attachments
Photo of problem (79.45 KB, image/jpeg)
2019-02-12 13:52 UTC, Nick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick 2019-02-12 13:50:11 UTC
SUMMARY
I am running KDE Neon on an encrypted LVM. Each time I boot I am prompted to enter my password to decrypt the disk, and the prompt contains some images and text.

This morning I upgraded to KDE Plasma 5.15 (my laptop is now fully updated) and on reboot the LVM password prompt no longer has any text. The prompt still works when I enter my password but it initially looks like a crash due to the lack of text!

STEPS TO REPRODUCE
1. Upgrade to KDE Plasma 5.15 from 5.14.5 on KDE Neon on an encrypted LVM.
2. Reboot
3. Notice the missing text when the password prompt appears.

OBSERVED RESULT
No text on password prompt (see attached photo)

EXPECTED RESULT
Text to be visible on password prompt.

SOFTWARE/OS VERSIONS

Operating System: KDE neon 5.14
KDE Plasma Version: 5.15.0
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.0
Kernel Version: 4.15.0-45-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 7.5 GiB of RAM


ADDITIONAL INFORMATION
Comment 1 Nick 2019-02-12 13:52:28 UTC
Created attachment 118002 [details]
Photo of problem
Comment 2 Harald Sitter 2019-02-12 14:15:55 UTC
Please edit /usr/share/initramfs-tools/hooks/plymouth_breeze

and put 

#!/bin/sh
set -ex

at the very top of the file and save it. Then run `sudo update-initramfs -u` and post to the output of that command here.
Comment 3 Nick 2019-02-12 14:18:20 UTC
Hi Harald. Here is the output:

sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-4.15.0-45-generic
+ OPTION=FRAMEBUFFER
+ PREREQ=plymouth
+ prereqs
+ echo plymouth
+ exit 0
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes and plymouth-label package to fix this.
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes and plymouth-label package to fix this.
+ OPTION=FRAMEBUFFER
+ PREREQ=plymouth
+ . /usr/share/initramfs-tools/hook-functions
+ update-alternatives --query default.plymouth
+ sed -e /^Value:/!d -e s/^Value: \(.*\)/\1/
+ THEME_PATH=/usr/share/plymouth/themes/breeze/breeze.plymouth
+ basename /usr/share/plymouth/themes/breeze/breeze.plymouth .plymouth
+ THEME=breeze
+ rm -f /var/tmp/mkinitramfs_ktCArY/usr/share/plymouth/ubuntu-logo.png
+ rm -f /var/tmp/mkinitramfs_ktCArY/usr/share/plymouth/themes/breeze-text/preview.png /var/tmp/mkinitramfs_ktCArY/usr/share/plymouth/themes/breeze/preview.png
+ [ -e /usr/share/fonts/truetype/noto/NotoSans-Regular.ttf ]
+ [ -e /etc/fonts/conf.d/56-neon-noto.conf ]
+ rm -rf /var/tmp/mkinitramfs_ktCArY/usr/share/fonts/truetype/ubuntu
+ rm -f /var/tmp/mkinitramfs_ktCArY/etc/fonts/conf.d/60-latin.conf
+ rm -rf /var/tmp/mkinitramfs_ktCArY/usr/share/fonts/truetype/dejavu
+ mkdir -p /var/tmp/mkinitramfs_ktCArY/etc/fonts/conf.d/
+ cp -L /etc/fonts/conf.d/56-neon-noto.conf /var/tmp/mkinitramfs_ktCArY/etc/fonts/conf.d/
+ mkdir -p /var/tmp/mkinitramfs_ktCArY/usr/share/fonts/truetype/noto/
+ cp -L /usr/share/fonts/truetype/noto/NotoSans-Regular.ttf /var/tmp/mkinitramfs_ktCArY/usr/share/fonts/truetype/noto/
+ cp -L /usr/share/fonts/truetype/noto/NotoSerif-Regular.ttf /var/tmp/mkinitramfs_ktCArY/usr/share/fonts/truetype/noto/
Comment 4 Harald Sitter 2019-02-12 14:20:15 UTC
Thanks. Please install the package plymouth-label and check if that fixes your issue.
Comment 5 Nick 2019-02-12 14:24:11 UTC
That worked. 

Interestingly I ran a sudo apt autoremove after updating to 5.15 which, amongst other packages, deleted plymouth-label:

Start-Date: 2019-02-12  11:51:54
Commandline: apt autoremove
Requested-By: nharvey (1000)
Remove: gtk3-engines-breeze:amd64 (5.14.5-0xneon+18.04+bionic+build21), plymouth-label:amd64 (0.9.3-1ubuntu7.18.04.1), apt-config-icons-large-hidpi:amd64 (0.12.3-1+18.04+bionic+build1), fonts-ubuntu:amd64 (0.83-2), gtk2-engines-pixbuf:amd64 (2.24.32-1ubuntu1), libkdecorations2private5v5:amd64 (4:5.14.5-0xneon+18.04+bionic+build22)
End-Date: 2019-02-12  11:51:56

Perhaps this was not a good idea...?!

Nick
Comment 6 Harald Sitter 2019-02-12 14:25:34 UTC
Yeah, unfortunately some issues sneaked into a merge we did prior to 5.15.