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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2056526

Title:
  Plymouth's hidden console contains squares instead of bold text on
  live session shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/2056526/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to