#999417 Blank line in plymouthd.conf silently breaks it

Package:
plymouth
Source:
plymouth
Description:
boot animation, logger and I/O multiplexer
Submitter:
"Trent W. Buck"
Date:
2021-11-16 09:45:03 UTC
Severity:
normal
Tags:
#999417#5
Date:
2021-11-10 19:24:53 UTC
From:
To:
See attached example files.
#999417#10
Date:
2021-11-12 11:13:35 UTC
From:
To:
On Thu, 11 Nov 2021 06:24:53 +1100 "Trent W. Buck" <trentbuck@gmail.com>  wrote:

 > See attached example files.

Hello,

Could you please explain a bit more what's not working?

I just tried now with plymouth version 0.9.5+git20211018-1, after adding
a white space in the configuration file and regenerating the initramfs
(with update-initramfs -u) I can see the theme in initramfs
(lsinitramfs) and the bgrt theme is properly used.

How did you regenerate the initramfs? Does lsinitramfs show you the
theme files inside the initramfs? Could you try with 0.9.5+git20211018-1
and see if it makes a difference?

Kind regards,

Laurent Bigonville

#999417#17
Date:
2021-11-15 05:39:58 UTC
From:
To:
Laurent Bigonville wrote:

Sorry, I thought my report included more information than it did.
This is the actual commit that fixed it for me:

https://github.com/cyberitsolutions/bootstrap2020/commit/af75998

The behaviour I see is that plymouth shows a splash screen, but
it uses the fallback "text" theme, with the "█ █ █" three rectangles,
with a spinner on a Tango dark grey background (#2E3436).

When plymouthd.conf contains no \n\n sequences, I see the correct bgrt theme,
with an animated spinner (white circle on black background).

Let me see if I make a full test recipe... hrm, not easily.
I will instead include the "before" and "after" ramdisks and kernel.
...hrm, they're 40MB each, not really suitable for email.

The actual images are identical except for the plymouthd.conf and some fontconfig cache files.
That suggests the problem is inside the plymouthd C code itself.

OK here's a script (attached) that should reliably show
1) working behaviour; then
2) failing behaviour.

#999417#22
Date:
2021-11-15 05:54:00 UTC
From:
To:
Trent W. Buck wrote:
#999417#27
Date:
2021-11-16 09:27:06 UTC
From:
To:
On Mon, 15 Nov 2021 16:39:58 +1100 "Trent W. Buck" <trentbuck@gmail.com>
wrote:
 > Laurent Bigonville wrote:
 > > On Thu, 11 Nov 2021 06:24:53 +1100 "Trent W. Buck"
<trentbuck@gmail.com>
 > > wrote:
 > >
 > > > See attached example files.
 > >
 > > Could you please explain a bit more what's not working?
 >
 > Sorry, I thought my report included more information than it did.
 > This is the actual commit that fixed it for me:
 >
 > https://github.com/cyberitsolutions/bootstrap2020/commit/af75998
 >
 > The behaviour I see is that plymouth shows a splash screen, but
 > it uses the fallback "text" theme, with the "█ █ █" three rectangles,
 > with a spinner on a Tango dark grey background (#2E3436).
 >
 > When plymouthd.conf contains no \n\n sequences, I see the correct
bgrt theme,
 > with an animated spinner (white circle on black background).

I can indeed confirm that if you have two new lines (\n) breaks the
displaying of the theme