Re: Plymouth, themes and console clearing: https://bugzilla.redhat.com/show_bug.cgi?id=1933378

2021-03-08 Thread James Antill
On Thu, 2021-03-04 at 15:52 -0500, Matthew Miller wrote:
> On Thu, Mar 04, 2021 at 12:14:07PM -0800, Adam Williamson wrote:
> > If you don't have plymouth installed, you get a very old-school "wall
> > of text" boot process; 
> 
> I, for one, am for it. I _expect_ my servers to provide an old-school wall
> of text boot.
> 
> (Perhaps we could add some text-mode cue for keyboard layout?)

 The only concern I have here is if this slows down the boot speed?
Like if I "cat file" on a virtual console it will take a noticeable
amount of time.

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Plymouth, themes and console clearing: https://bugzilla.redhat.com/show_bug.cgi?id=1933378

2021-03-05 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 05, 2021 at 10:03:31AM +0100, Hans de Goede wrote:
> Hi,
> 
> On 3/4/21 11:45 PM, Adam Williamson wrote:
> > On Thu, 2021-03-04 at 22:40 +0100, Hans de Goede wrote:
> >>
> >>> Starting from a minimal install with plymouth omitted, adding just
> >>> plymouth itself pulls in 3 packages (plymouth, plymouth-core-libs,
> >>> plymouth-scripts) with an installed size of 621K. Adding plymouth-
> >>> system-theme pulls in 32 packages with an installed size of 24M. So
> >>> putting plymouth-system-theme in @core would substantially inflate the
> >>> size of @core in terms of both number of packages and overall installed
> >>> size. Removing plymouth from @core would not save a lot in terms of
> >>> packages or space.
> >>>
> >>> So, I guess the question here is, what do we do?
> >>>
> >>> 1) Remove plymouth from @core
> >>> 2) Add plymouth-system-theme to @core
> >>> 3) Make Hans/Ray/someone fix the plymouth bug
> >>
> >> 1) clearly gets my vote, not just because I don't have time to work on 3)
> >> but also because to me it seems like the right thing to do. Plymouth is
> >> a boot splash, its goal is to make the boot look pretty / hide all the
> >> scary log messages in use-cases where we want this.  The text fallback
> >> splash is not pretty. In general if it shows instead of the graphical
> >> splash the fact that the text fallback shows is considered a bug.
> > 
> > Well, you could still argue it's prettier than a wall-o-text boot. And
> > it *does* hide the wall-o-text.
> > 
> >> So either the server spin wants a pretty boot and then they should fix the
> >> bug of the text splash showing by installing plymouth-system-theme, or the
> >> server spin does not want a pretty boot and then there should be no
> >> plymouth at all.
> > 
> > What if we want something arguably-prettier than wall-o-text, but don't
> > want an extra 32 packages and 24M of storage used up?
> 
> Systemd has you covered here, you can tell it to not log any startup
> status or to only log errors by specifying systemd.show_status=no or
> systemd.show_status=auto on the kernel commandline.

I believe we don't show stuff by default any more.
https://github.com/systemd/systemd/commit/0d066dd1a4:

pid1: add new mode systemd.show-status=error and use it when 'quiet' is 
passed

systemd.show-status=error is useful for the case where people care about 
errors
only.

If people want to have a quiet boot, they most likely don't want to see all
status output even if there is a delay in boot, so make "quiet" imply
systemd.show-status=error instead of systemd.show-status=auto.

And we specify 'quiet' by default.

Zbyszek
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Plymouth, themes and console clearing: https://bugzilla.redhat.com/show_bug.cgi?id=1933378

2021-03-05 Thread Stephen Gallagher
On Fri, Mar 5, 2021 at 12:27 PM Kevin Fenzi  wrote:
>
> On Thu, Mar 04, 2021 at 03:52:04PM -0500, Matthew Miller wrote:
> > On Thu, Mar 04, 2021 at 12:14:07PM -0800, Adam Williamson wrote:
> > > If you don't have plymouth installed, you get a very old-school "wall
> > > of text" boot process; if there are encrypted system partitions, you
> > > get a plain text prompt for the encryption passphrase, with no keyboard
> > > layout indicator (I'm not sure if the text theme indicates the keyboard
> > > layout either).
> >
> > I, for one, am for it. I _expect_ my servers to provide an old-school wall
> > of text boot.
>
> Same here. I'm fine removing it...

+1
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Plymouth, themes and console clearing: https://bugzilla.redhat.com/show_bug.cgi?id=1933378

2021-03-05 Thread Kevin Fenzi
On Thu, Mar 04, 2021 at 03:52:04PM -0500, Matthew Miller wrote:
> On Thu, Mar 04, 2021 at 12:14:07PM -0800, Adam Williamson wrote:
> > If you don't have plymouth installed, you get a very old-school "wall
> > of text" boot process; if there are encrypted system partitions, you
> > get a plain text prompt for the encryption passphrase, with no keyboard
> > layout indicator (I'm not sure if the text theme indicates the keyboard
> > layout either).
> 
> I, for one, am for it. I _expect_ my servers to provide an old-school wall
> of text boot.

Same here. I'm fine removing it... 

kevin


signature.asc
Description: PGP signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Plymouth, themes and console clearing: https://bugzilla.redhat.com/show_bug.cgi?id=1933378

2021-03-05 Thread Oğuz Ersen via devel
Is changing the default theme from "text" to "details" an option? It is already 
there so there is no need to install another package and I think it is a better 
wall-of-text experience than removing plymouth altogether.

--
Best Regards
Oğuz Ersen
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Plymouth, themes and console clearing: https://bugzilla.redhat.com/show_bug.cgi?id=1933378

2021-03-05 Thread Tomasz Torcz
Dnia Thu, Mar 04, 2021 at 12:14:07PM -0800, Adam Williamson napisał(a):
> Starting from a minimal install with plymouth omitted, adding just
> plymouth itself pulls in 3 packages (plymouth, plymouth-core-libs,
> plymouth-scripts) with an installed size of 621K. Adding plymouth-
> system-theme pulls in 32 packages with an installed size of 24M. So
> putting plymouth-system-theme in @core would substantially inflate the
> size of @core in terms of both number of packages and overall installed
> size. Removing plymouth from @core would not save a lot in terms of
> packages or space.

  plymouth-theme-hot-dog  is only 400 KiB ;)

/ducks

-- 
Tomasz Torcz “God, root, what's the difference?”
to...@pipebreaker.pl   “God is more forgiving.”
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Plymouth, themes and console clearing: https://bugzilla.redhat.com/show_bug.cgi?id=1933378

2021-03-05 Thread Hans de Goede
Hi,

On 3/4/21 11:45 PM, Adam Williamson wrote:
> On Thu, 2021-03-04 at 22:40 +0100, Hans de Goede wrote:
>>
>>> Starting from a minimal install with plymouth omitted, adding just
>>> plymouth itself pulls in 3 packages (plymouth, plymouth-core-libs,
>>> plymouth-scripts) with an installed size of 621K. Adding plymouth-
>>> system-theme pulls in 32 packages with an installed size of 24M. So
>>> putting plymouth-system-theme in @core would substantially inflate the
>>> size of @core in terms of both number of packages and overall installed
>>> size. Removing plymouth from @core would not save a lot in terms of
>>> packages or space.
>>>
>>> So, I guess the question here is, what do we do?
>>>
>>> 1) Remove plymouth from @core
>>> 2) Add plymouth-system-theme to @core
>>> 3) Make Hans/Ray/someone fix the plymouth bug
>>
>> 1) clearly gets my vote, not just because I don't have time to work on 3)
>> but also because to me it seems like the right thing to do. Plymouth is
>> a boot splash, its goal is to make the boot look pretty / hide all the
>> scary log messages in use-cases where we want this.  The text fallback
>> splash is not pretty. In general if it shows instead of the graphical
>> splash the fact that the text fallback shows is considered a bug.
> 
> Well, you could still argue it's prettier than a wall-o-text boot. And
> it *does* hide the wall-o-text.
> 
>> So either the server spin wants a pretty boot and then they should fix the
>> bug of the text splash showing by installing plymouth-system-theme, or the
>> server spin does not want a pretty boot and then there should be no
>> plymouth at all.
> 
> What if we want something arguably-prettier than wall-o-text, but don't
> want an extra 32 packages and 24M of storage used up?

Systemd has you covered here, you can tell it to not log any startup
status or to only log errors by specifying systemd.show_status=no or
systemd.show_status=auto on the kernel commandline.

Note I'm not claiming there is no bug in plymouth (1) here, but I also
believe that dropping plymouth completely from e.g. the server-spin is
the right thing to do.  And that has the nice side effect of significant
lowering the priority of the plymouth bug.  Which I must admit does
make the chance of me actually looking into the plymouth bug a lot smaller.

Regards,

Hans


1) There have been a lot of tty/console code changes in the kernel recently
to deal with a bunch of security issues. I would not be surprised if one of
those turns out to be the root cause.  This makes me wonder how hard it
would be for you to try and reproduce this with the latest F34 rootfs +
a kernel from when openQA did not hit this yet ?
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Plymouth, themes and console clearing: https://bugzilla.redhat.com/show_bug.cgi?id=1933378

2021-03-04 Thread Adam Williamson
On Fri, 2021-03-05 at 01:51 +0100, David Kaufmann wrote:
> On Thu, Mar 04, 2021 at 02:45:29PM -0800, Adam Williamson wrote:
> > Well, you could still argue it's prettier than a wall-o-text boot. And
> > it *does* hide the wall-o-text.
> 
> On the first boot after install that's maybe nice, but usually when I
> look at the machine booting I either do need to see why the initramfs
> does not boot, which one is the first service failing or why the
> shutdown/reboot progress is hanging - in all of those cases I prefer the
> wall-o-text ;)
> 
> But yes, doesn't look as nice as plymouth. xD

Well, you get the wall-o-text just by pressing Esc...

But anyhoo, since opinion so far seems to favor no-plymouth-in-core,
I've sent a PR for that:

https://pagure.io/fedora-comps/pull-request/631
-- 
Adam Williamson
Fedora QA
IRC: adamw | Twitter: adamw_ha
https://www.happyassassin.net


___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Plymouth, themes and console clearing: https://bugzilla.redhat.com/show_bug.cgi?id=1933378

2021-03-04 Thread David Kaufmann
On Thu, Mar 04, 2021 at 02:45:29PM -0800, Adam Williamson wrote:
> Well, you could still argue it's prettier than a wall-o-text boot. And
> it *does* hide the wall-o-text.

On the first boot after install that's maybe nice, but usually when I
look at the machine booting I either do need to see why the initramfs
does not boot, which one is the first service failing or why the
shutdown/reboot progress is hanging - in all of those cases I prefer the
wall-o-text ;)

But yes, doesn't look as nice as plymouth. xD

All the best,
Astra


signature.asc
Description: PGP signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Plymouth, themes and console clearing: https://bugzilla.redhat.com/show_bug.cgi?id=1933378

2021-03-04 Thread Adam Williamson
On Thu, 2021-03-04 at 22:40 +0100, Hans de Goede wrote:
> 
> > Starting from a minimal install with plymouth omitted, adding just
> > plymouth itself pulls in 3 packages (plymouth, plymouth-core-libs,
> > plymouth-scripts) with an installed size of 621K. Adding plymouth-
> > system-theme pulls in 32 packages with an installed size of 24M. So
> > putting plymouth-system-theme in @core would substantially inflate the
> > size of @core in terms of both number of packages and overall installed
> > size. Removing plymouth from @core would not save a lot in terms of
> > packages or space.
> > 
> > So, I guess the question here is, what do we do?
> > 
> > 1) Remove plymouth from @core
> > 2) Add plymouth-system-theme to @core
> > 3) Make Hans/Ray/someone fix the plymouth bug
> 
> 1) clearly gets my vote, not just because I don't have time to work on 3)
> but also because to me it seems like the right thing to do. Plymouth is
> a boot splash, its goal is to make the boot look pretty / hide all the
> scary log messages in use-cases where we want this.  The text fallback
> splash is not pretty. In general if it shows instead of the graphical
> splash the fact that the text fallback shows is considered a bug.

Well, you could still argue it's prettier than a wall-o-text boot. And
it *does* hide the wall-o-text.

> So either the server spin wants a pretty boot and then they should fix the
> bug of the text splash showing by installing plymouth-system-theme, or the
> server spin does not want a pretty boot and then there should be no
> plymouth at all.

What if we want something arguably-prettier than wall-o-text, but don't
want an extra 32 packages and 24M of storage used up?
-- 
Adam Williamson
Fedora QA
IRC: adamw | Twitter: adamw_ha
https://www.happyassassin.net


___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Plymouth, themes and console clearing: https://bugzilla.redhat.com/show_bug.cgi?id=1933378

2021-03-04 Thread Colin Walters


On Thu, Mar 4, 2021, at 3:14 PM, Adam Williamson wrote:
> Hey folks!
> 
> So I've filed a bug recently which may need wider discussion about the
> resolution. The bug report is:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1933378
> 
> The problem is this. If plymouth is installed but no graphical theme is
> installed/configured 

I have an opinion which I'll express via pull request:
https://github.com/coreos/fedora-coreos-config/pull/877
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Plymouth, themes and console clearing: https://bugzilla.redhat.com/show_bug.cgi?id=1933378

2021-03-04 Thread Hans de Goede
Hi,

On 3/4/21 9:14 PM, Adam Williamson wrote:
> Hey folks!
> 
> So I've filed a bug recently which may need wider discussion about the
> resolution. The bug report is:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1933378
> 
> The problem is this. If plymouth is installed but no graphical theme is
> installed/configured - which is currently the case for at least Server
> and minimal installs - plymouth uses a 'fallback' text theme, which
> Hans says is under-maintained. Since around Fedora-Rawhide-
> 20210122.n.0, openQA has been encountering an intermittent problem
> where this theme does not clear properly when boot is complete and the
> console login is shown, it looks like this:
> 
> https://openqa.fedoraproject.org/tests/799388#step/_console_wait_login/6
> 
> It gets worse once you actually try and log in - bits of the grey
> background get wiped and replaced with black in ugly patterns, this
> both looks dumb and makes working around the bug in openQA by adding
> more screenshots impractical (because the pattern of the background
> just keeps changing). This bug does not seem to happen if a Plymouth
> graphical theme is installed and configured, only if the fallback text
> theme is used.
> 
> In the bug report, we did a bit of looking into what bits of Plymouth
> are installed when. In comps, 'plymouth' itself is listed as
> 'mandatory' in @core. This seems to ultimately date back to
> https://pagure.io/fedora-comps/c/0dca8c2b3f04624873918e6dfef12f27bf1a6d75
> by Bill, which was in response to 
> https://bugzilla.redhat.com/show_bug.cgi?id=801087 (the bug number in
> the commit is a typo). The commit claims "Add plymouth to core, to
> match prior releases", but it was *not* in @core in "previous releases"
> so far as I can tell; it may have been pulled into minimal installs via
> dependencies (I can check an F16 minimal install later).
> 
> 'plymouth-system-theme' - which installs the default graphical theme -
> is in the 'base-x' group. So only package sets that include base-x will
> install a graphical theme for Plymouth. This includes all major
> desktops, but does *not* include at least Server or minimal installs
> (and probably some other subsets I'm not thinking of). Anything that
> includes @core but *not* @base-x will hit the broken configuration.
> 
> Obviously one option here is just to fix the bug in Plymouth, but Hans
> suggested that we should fix it by not installing Plymouth in this
> configuration - i.e. we should only ever install plymouth and plymouth-
> system-theme or no plymouth at all.
> 
> If you don't have plymouth installed, you get a very old-school "wall
> of text" boot process; if there are encrypted system partitions, you
> get a plain text prompt for the encryption passphrase, with no keyboard
> layout indicator (I'm not sure if the text theme indicates the keyboard
> layout either).

The kbd-layout indicator in plymouth (and the capslock indicator) is
something which I recently added and which is only available in the
graphical bgrt and spinner themes.

Note that even in graphical mode plymouth relies on the console-keyboard
driver / console keyboard map, because keyboard-mapping is nasty and we
don't want to re-invent that wheel. We even rely on systemd to setup the
keymap for us, so keymap wise nothing will change when plymouth is not
in the loop.

Also while on the subject, both indicators in the bgrt/spiner theme
are actually not directly reflecting to the console-keyboard driver
state. Since the console's kbd code has no notion of storing a
keymap-name or some such. So instead plymouth just mimicks systemd's
kernel cmdline and /etc/vconsole.conf parsing and gets the map which
systemd should have set if everything is working correctly. In practice
this works well because the biggest problem is the initrd not being
regenerated after changing the keymap and this get caught this way.
This does mean that is should be easy for systemd to show the keymap
the same way if that is desirable. All the code to do the config
parsing is already right there in systemd. It may make sense for
someone to file a RFE for this.

As for capslock there also is no way to query this, so instead the
actual capslock-LED state is queried and that is used.

> Starting from a minimal install with plymouth omitted, adding just
> plymouth itself pulls in 3 packages (plymouth, plymouth-core-libs,
> plymouth-scripts) with an installed size of 621K. Adding plymouth-
> system-theme pulls in 32 packages with an installed size of 24M. So
> putting plymouth-system-theme in @core would substantially inflate the
> size of @core in terms of both number of packages and overall installed
> size. Removing plymouth from @core would not save a lot in terms of
> packages or space.
> 
> So, I guess the question here is, what do we do?
> 
> 1) Remove plymouth from @core
> 2) Add plymouth-system-theme to @core
> 3) Make Hans/Ray/someone fix the plymouth bug

1) clearly gets my vote, not just because I don't 

Re: Plymouth, themes and console clearing: https://bugzilla.redhat.com/show_bug.cgi?id=1933378

2021-03-04 Thread Matthew Miller
On Thu, Mar 04, 2021 at 12:14:07PM -0800, Adam Williamson wrote:
> If you don't have plymouth installed, you get a very old-school "wall
> of text" boot process; if there are encrypted system partitions, you
> get a plain text prompt for the encryption passphrase, with no keyboard
> layout indicator (I'm not sure if the text theme indicates the keyboard
> layout either).

I, for one, am for it. I _expect_ my servers to provide an old-school wall
of text boot.

(Perhaps we could add some text-mode cue for keyboard layout?)


-- 
Matthew Miller

Fedora Project Leader
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Plymouth, themes and console clearing: https://bugzilla.redhat.com/show_bug.cgi?id=1933378

2021-03-04 Thread Adam Williamson
Hey folks!

So I've filed a bug recently which may need wider discussion about the
resolution. The bug report is:

https://bugzilla.redhat.com/show_bug.cgi?id=1933378

The problem is this. If plymouth is installed but no graphical theme is
installed/configured - which is currently the case for at least Server
and minimal installs - plymouth uses a 'fallback' text theme, which
Hans says is under-maintained. Since around Fedora-Rawhide-
20210122.n.0, openQA has been encountering an intermittent problem
where this theme does not clear properly when boot is complete and the
console login is shown, it looks like this:

https://openqa.fedoraproject.org/tests/799388#step/_console_wait_login/6

It gets worse once you actually try and log in - bits of the grey
background get wiped and replaced with black in ugly patterns, this
both looks dumb and makes working around the bug in openQA by adding
more screenshots impractical (because the pattern of the background
just keeps changing). This bug does not seem to happen if a Plymouth
graphical theme is installed and configured, only if the fallback text
theme is used.

In the bug report, we did a bit of looking into what bits of Plymouth
are installed when. In comps, 'plymouth' itself is listed as
'mandatory' in @core. This seems to ultimately date back to
https://pagure.io/fedora-comps/c/0dca8c2b3f04624873918e6dfef12f27bf1a6d75
by Bill, which was in response to 
https://bugzilla.redhat.com/show_bug.cgi?id=801087 (the bug number in
the commit is a typo). The commit claims "Add plymouth to core, to
match prior releases", but it was *not* in @core in "previous releases"
so far as I can tell; it may have been pulled into minimal installs via
dependencies (I can check an F16 minimal install later).

'plymouth-system-theme' - which installs the default graphical theme -
is in the 'base-x' group. So only package sets that include base-x will
install a graphical theme for Plymouth. This includes all major
desktops, but does *not* include at least Server or minimal installs
(and probably some other subsets I'm not thinking of). Anything that
includes @core but *not* @base-x will hit the broken configuration.

Obviously one option here is just to fix the bug in Plymouth, but Hans
suggested that we should fix it by not installing Plymouth in this
configuration - i.e. we should only ever install plymouth and plymouth-
system-theme or no plymouth at all.

If you don't have plymouth installed, you get a very old-school "wall
of text" boot process; if there are encrypted system partitions, you
get a plain text prompt for the encryption passphrase, with no keyboard
layout indicator (I'm not sure if the text theme indicates the keyboard
layout either).

Starting from a minimal install with plymouth omitted, adding just
plymouth itself pulls in 3 packages (plymouth, plymouth-core-libs,
plymouth-scripts) with an installed size of 621K. Adding plymouth-
system-theme pulls in 32 packages with an installed size of 24M. So
putting plymouth-system-theme in @core would substantially inflate the
size of @core in terms of both number of packages and overall installed
size. Removing plymouth from @core would not save a lot in terms of
packages or space.

So, I guess the question here is, what do we do?

1) Remove plymouth from @core
2) Add plymouth-system-theme to @core
3) Make Hans/Ray/someone fix the plymouth bug

Opinions? :) Thanks!
-- 
Adam Williamson
Fedora QA
IRC: adamw | Twitter: adamw_ha
https://www.happyassassin.net


___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure