dracut: dracut module 'plymouth' will not be installed, because command 'plymouth-set-default-theme' could not be found!

Bug #2049222 reported by Julian Andres Klode
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dracut (Ubuntu)
Confirmed
Undecided
Unassigned
plymouth (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

(exploratory dracut analysis)

Installing dracut and using hostonly=yes (https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2049221) to get a working image, I get a password prompt on the terminal instead of in plymouth, apparently plymouth is not installed into the initrd

Revision history for this message
Julian Andres Klode (juliank) wrote :

This is an Ubuntu delta in plymouth, we use alternatives:

    - We use alternatives instead of plymouth-set-default-theme tool:
      + debian/plymouth-themes.{prerm,postinst}: ensure we select one default
        plymouth logo and text themes through alternatives even when we remove
        ubuntu-base ones.
      + debian/rules, debian/plymouth.{install,links), don't ship non
        non alternative-based theme policy files and tools.
      + update plymouth.README.Debian to tell to use update-alternative
        instead of set-default-theme
      + change debian/local/plymouth.hook to use update-alternative to get
        default theme instead of set-default-theme. Also, don't copy
        deleted files to initramfs.

Revision history for this message
Julian Andres Klode (juliank) wrote :

Probably we should rebuild plymouth-set-default-theme to use the alternative. This works for read-only use, but setting the alternative could be added too I suppose:

 #!/bin/sh
 readlink -f /usr/share/plymouth/themes/default.plymouth | sed -r 's#.*/themes/([^/]*)/.*#\1#'

Revision history for this message
Julian Andres Klode (juliank) wrote :

OK _some_ more work is needed

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

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

Changed in dracut (Ubuntu):
status: New → Confirmed
Changed in plymouth (Ubuntu):
status: New → Confirmed
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.