[Bug 1865959] Re: plymouth hook hangs waiting for input

Christian Bachmaier 1865959 at bugs.launchpad.net
Wed Mar 4 12:57:57 UTC 2020


The new version is also buggy. My installation is default focal server
with

> dpkg -l | grep plymouth
ii  libplymouth5:amd64                   0.9.4git20200109-0ubuntu3.2         amd64        graphical boot animation and logger - shared libraries
ii  plymouth                             0.9.4git20200109-0ubuntu3.2         amd64        boot animation, logger and I/O multiplexer
ii  plymouth-theme-ubuntu-text           0.9.4git20200109-0ubuntu3.2         amd64        boot animation, logger and I/O multiplexer - ubuntu text theme

After simply replacing /usr/share/initramfs-tools/hooks/plymouth with
the new version
plymouth_0.9.4git20200109-0ubuntu3.3.debian.tar.xz:/utar://debian/local/plymouth.hook
I get the following error:

E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
Removing /boot/initrd.img-5.4.0-14-generic.dpkg-bak
update-initramfs: failed for /boot/initrd.img-5.4.0-14-generic with 1.

after calling update-initramfs -u -v &> out.txt .

See the attached file out.txt for the full output.

** Attachment added: "out.txt"
   https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1865959/+attachment/5333506/+files/out.txt

-- 
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/1865959

Title:
  plymouth hook hangs waiting for input

Status in The Ubuntu-power-systems project:
  New
Status in plymouth package in Ubuntu:
  Fix Committed

Bug description:
  In the fix for LP: #1864586 the following change was made:

   THEME_PATH="$(update-alternatives --query default.plymouth 2>/dev/null | sed -e '/^Value:/!d' -e 's/^Value: \(.*\)/\1/')"
  +IMAGE_PATH=$(grep "ImageDir *= *" ${THEME_PATH} | sed 's/ImageDir *= *//')
   THEME="$(basename ${THEME_PATH:-none} .plymouth || true)"
   THEMES="/usr/share/plymouth/themes"

  Unfortunately, if the default.plymouth alternative is not set (as is
  the case in the Raspberry Pi images for instance), then THEME_PATH
  winds up blank. The introduced IMAGE_PATH line then hangs waiting for
  input (as grep isn't given a filename to read).

  I ran into this during an "apt upgrade" (which called update-
  initramfs, and thus the plymouth hook) on a focal pi image; worked
  around it by hitting Ctrl+D to let it continue, which allowed
  everything to proceed as normal.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1865959/+subscriptions



More information about the foundations-bugs mailing list