plymouth-set-default-theme is missing - trigger dracut problem

Bug #1596220 reported by H.-Dirk Schmitt
46
This bug affects 9 people
Affects Status Importance Assigned to Milestone
dracut (Ubuntu)
Fix Released
High
Unassigned
plymouth (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I try to migrate to dracut, but plymouth support is broken below ubuntu.
The ubuntu package of plymouth is missing the command 'plymouth-set-default-theme'.
The debian packages are including this file.

As a result, dracut emits the following message

root@vt-xenial-main:~ [1070] # dracut --force
dracut: Executing: /usr/bin/dracut --force
dracut: dracut module 'bootchart' will not be installed, because command '/sbin/bootchartd' could not be found!
dracut: dracut module 'plymouth' will not be installed, because command 'plymouth-set-default-theme' could not be found!
....

If I install a backported package from debian the problem is resolved.

plymouth:
  Installed: 0.9.2-3+~ubuntu16.04.1~c42.ppa1
  Candidate: 0.9.2-3+~ubuntu16.04.1~c42.ppa1
  Version table:
 *** 0.9.2-3+~ubuntu16.04.1~c42.ppa1 500
        500 http://ppa.launchpad.net/dirk-computer42/c42-backport/ubuntu xenial/main i386 Packages
        100 /var/lib/dpkg/status
     0.9.2-3ubuntu13.1 500
        500 http://de.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
     0.9.2-3ubuntu13 500
        500 http://de.archive.ubuntu.com/ubuntu xenial/main i386 Packages

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: plymouth 0.9.2-3ubuntu13.1
ProcVersionSignature: Ubuntu 4.4.0-24.43-generic 4.4.10
Uname: Linux 4.4.0-24-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
Date: Sat Jun 25 21:15:30 2016
DefaultPlymouth: /usr/share/plymouth/themes/ubuntu-gnome-logo/ubuntu-gnome-logo.plymouth
Lsusb:
 Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-24-generic root=UUID=9b1c6051-dd6e-4a6f-8e00-bdec9fe4cece ro
ProcFB: 0 cirrusdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-24-generic root=UUID=9b1c6051-dd6e-4a6f-8e00-bdec9fe4cece ro
SourcePackage: plymouth
TextPlymouth: /usr/share/plymouth/themes/ubuntu-gnome-text/ubuntu-gnome-text.plymouth
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/01/2011
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2011:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-trusty:cvnBochs:ct1:cvr:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.version: pc-i440fx-trusty
dmi.sys.vendor: QEMU

Revision history for this message
H.-Dirk Schmitt (dirk-computer42) wrote :
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
Revision history for this message
l (tcrfvyguiop) wrote :

This issue can no longer be reproduced with v059-4 and should be closed.

Benjamin Drung (bdrung)
Changed in dracut (Ubuntu):
importance: Undecided → High
Revision history for this message
Benjamin Drung (bdrung) wrote :

Still an issue on oracular:

$ sudo dracut --force -a plymouth --verbose 2>&1 | grep plymouth
dracut[I]: Executing: /usr/bin/dracut --force -a plymouth --verbose
dracut[D]: Module 'plymouth' will not be installed, because command 'plymouth-set-default-theme' could not be found!
dracut[E]: Module 'plymouth' cannot be installed.

Revision history for this message
Simon Quigley (tsimonq2) wrote :

I didn't realize there was a bug report for this; it should be fixed in the latest Dracut and Plymouth uploads to Plucky.

FWIW, I still can't get Plymouth to display the theme. I can confirm it works with a Spanish keyboard layout, though. I'll continue working at it.

Revision history for this message
Simon Quigley (tsimonq2) wrote :

Here are some further findings...

Running this dracut command in a fully-updated Lubuntu Plucky VM gives me a working encryption passphrase prompt and the Lubuntu Plymouth theme:

sudo dracut --include /etc/alternatives/default.plymouth /etc/alternatives/default.plymouth --include /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/ -f

The first problem I encountered was /etc/alternatives/default.plymouth not being read. /usr/share/plymouth/themes/default.plymouth is a symbolic link to /etc/alternatives/default.plymouth, which on my Lubuntu system points to /usr/share/plymouth/themes/lubuntu-logo/lubuntu-logo.plymouth. /usr/share/plymouth/themes/default.plymouth and /usr/share/plymouth/themes/lubuntu-logo/lubuntu-logo.plymouth were present, but not /etc/alternatives/default.plymouth.

/usr/lib/x86_64-linux-gnu/ is obviously a pretty large hammer. At the very least,
/usr/lib/x86_64-linux-gnu/plymouth/ is needed.

I will get a list of missing .so files, then patch the Plymouth Dracut hook.

Revision history for this message
Simon Quigley (tsimonq2) wrote :

With plymouth 24.004.60-2ubuntu3 and dracut-core 105-2ubuntu2, Plymouth theming works out of the box now.

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

This bug was fixed in the package plymouth - 24.004.60-2ubuntu3

---------------
plymouth (24.004.60-2ubuntu3) plucky; urgency=medium

  * Ensure the initrd includes all necessary files for a graphical theme
    (LP: #1596220).

 -- Simon Quigley <email address hidden> Thu, 21 Nov 2024 22:13:38 -0600

Changed in plymouth (Ubuntu):
status: Confirmed → Fix Released
Benjamin Drung (bdrung)
Changed in dracut (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dracut - 105-2ubuntu2

---------------
dracut (105-2ubuntu2) plucky; urgency=medium

  * Plymouth hook: Use alternatives instead of plymouth-set-default-theme
    (LP: #1596220).

 -- Simon Quigley <email address hidden> Thu, 21 Nov 2024 14:54:12 -0600

Changed in dracut (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.