[Bug 2056526] Re: Plymouth's hidden console contains squares instead of bold text on live session shutdown
Tim Richardson
2056526 at bugs.launchpad.net
Tue Oct 22 22:30:23 UTC 2024
There might be a race condition.
The modified script below allows the bold fonts to display:
The difference is the
ExecStart=- /bin/sleep 1
A value of 0.1 means the bold fonts do not render
a long delay (say 5s) changes in a bad way the shutdown process. The
messages stop with complaints about a device in use.
[Unit]
Description=Tell Plymouth To Jump To initramfs
DefaultDependencies=no
# dracut-shutdown.service restores the initramfs when it is _stopped_
# use Conflicts to make sure its ExecStop has run before we do
Conflicts=dracut-shutdown.service
After=plymouth-halt.service plymouth-reboot.service plymouth-poweroff.service plymouth-kexec.service dracut-shutdown.service mkinitcpio-generate-shutdown-ramfs.service
ConditionPathExists=|/run/initramfs/bin/sh
ConditionPathExists=|/run/initramfs/shutdown
[Service]
Type=oneshot
RemainAfterExit=yes
# Emit a blank message to force a dynamic load of all graphics libraries
# required for rendering text since it's a non-trivially large set, too large
# to manage manually in the initramfs. This will allow casper to render text
# like the live media ejection message after the jump...
ExecStart=-/usr/bin/plymouth message --text="Preload graphics libraries..."
ExecStart=-/bin/sleep 1
ExecStart=-/usr/bin/plymouth update-root-fs --new-root-dir=/run/initramfs
Type=oneshot
RemainAfterExit=yes
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to plymouth in Ubuntu.
https://bugs.launchpad.net/bugs/2056526
Title:
Plymouth's hidden console contains squares instead of bold text on
live session shutdown
Status in plymouth package in Ubuntu:
Triaged
Bug description:
Plymouth's hidden console contains squares instead of bold text on
live session shutdown.
You can see it by pressing Escape instead of Enter.
It seems somewhat related to the fix for bug 1942987, which only
preloads non-bold text for the live session shutdown splash.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/2056526/+subscriptions
More information about the foundations-bugs
mailing list