plymouth always shows a splash screen regardless of whether 'splash' is on the command line

Bug #785242 reported by Tim Cutts
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
console-common (Debian)
Fix Released
Unknown
console-common (Ubuntu)
Triaged
High
Unassigned

Bug Description

Binary package hint: plymouth

On Ubuntu Server 10.04: Even when I don't have 'splash' as a kernel parameter, plymouth still shows a splash screen (which seems to be done by /usr/share/initramfs-tools/scripts/init-top/plymouth). On its own, this is a minor niggle. However, it has a more serious knock-on effect if the system is configured with a default locale which uses UTF-8. In that case, much later in the boot process, /etc/rcS.d/S05keymap.sh tries, via the unicode_start program, to run the vt-is-UTF8 command, which hangs if there is a splash screen present (this part is arguably a bug in console-tools).

The combination of these two bugs, one in this package and one in console-tools, is that the console of the machine never produces a getty, because the rc script never completes. If you don't have a network connection working yet, you're reduced to having to use init=/bin/sh to get a prompt, because the same situation prevents you getting into single user mode too.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: plymouth 0.8.2-2ubuntu2.2 [modified: usr/share/initramfs-tools/scripts/init-top/plymouth]
ProcVersionSignature: Ubuntu 2.6.32-31.61-server 2.6.32.32+drm33.14
Uname: Linux 2.6.32-31-server x86_64
Architecture: amd64
Date: Thu May 19 14:58:18 2011
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/usr/local/bin/bash
SourcePackage: plymouth

Revision history for this message
Tim Cutts (timc) wrote :
Revision history for this message
Tim Cutts (timc) wrote :

I should add the reason I've changed that init-top script is to work around this bug by never switching the splash screen on

Revision history for this message
Steve Langasek (vorlon) wrote :

Hi Tim,

When you say plymouth shows a splash screen, what exactly do you see? plymouth will *run* unconditionally on boot, because it's needed to broker boot-time console I/O; but on a server there should be no graphical boot splash support *installed* by default, and booting without 'splash' on the commandline should cause no splash screen to be displayed - only the details plugin (plaintext output).

The initramfs-tools script should also not be used by default; there are only a limited number of cases in which this script will be installed in the initramfs at all (see the initramfs hook script for details).

Finally, the problematic script you mention, /etc/rcS.d/S05keymap.sh, is not part of the standard 10.04 LTS install. This seems to be provided by a 'console-common' package in universe. Do you know why you have that package installed - pulled in as a dependency, carried over as part of an upgrade from a previous release?

Changed in plymouth (Ubuntu):
status: New → Incomplete
Revision history for this message
Tim Cutts (timc) wrote : Re: [Bug 785242] Re: plymouth always shows a splash screen regardless of whether 'splash' is on the command line

On 19 May 2011, at 22:12, Steve Langasek wrote:

> Hi Tim,
>
> When you say plymouth shows a splash screen, what exactly do you see?
> plymouth will *run* unconditionally on boot, because it's needed to
> broker boot-time console I/O; but on a server there should be no
> graphical boot splash support *installed* by default, and booting
> without 'splash' on the commandline should cause no splash screen to be
> displayed - only the details plugin (plaintext output).
>
> The initramfs-tools script should also not be used by default; there are
> only a limited number of cases in which this script will be installed in
> the initramfs at all (see the initramfs hook script for details).
>
> Finally, the problematic script you mention, /etc/rcS.d/S05keymap.sh, is
> not part of the standard 10.04 LTS install. This seems to be provided
> by a 'console-common' package in universe. Do you know why you have
> that package installed - pulled in as a dependency, carried over as part
> of an upgrade from a previous release?

Hi Steve, you set me to thinking, and I think I now know what's going on. I noticed this when trying to use FAI to install Ubuntu servers. It looks like my FAI tried to install ubuntu-minimal, which despite its name appears to include some stuff targeted at the desktop version. Mea culpa.

Nevertheless, there does seem to be a conflict between this console-common script and plymouth's splash screen. It's probably really a bug with the console tools rather than plymouth. There are several similar bug reports around. For example, there's a fairly long standing bug report in Debian which no-one's done anything about:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500831

which I suspect is related.

Sorry for wasting your time with this one, Steve - feel free to reassign to the console stuff as a normal priority bug if you wish. And thanks for pointing me to what I'd done wrong...

Tim

Revision history for this message
Steve Langasek (vorlon) wrote :

> It looks like my FAI tried to install ubuntu-minimal, which despite its
> name appears to include some stuff targeted at the desktop version.

On the contrary, ubuntu-minimal is minimal and doesn't pull in anything desktop-specific. It will pull in upstart->mountall->plymouth->plymouth-theme-ubuntu-text, but that's not a graphical splash screen, only a text one.

> Nevertheless, there does seem to be a conflict between this console-
> common script and plymouth's splash screen. It's probably really a bug
> with the console tools rather than plymouth.

Yeah, I think that's the case; talking with Colin Watson, I understand that console-common is meant to be removed altogether but hasn't quite been obsoleted.

Reassigning this to console-tools, which seems to be the primary culprit.

affects: plymouth (Ubuntu) → console-common (Ubuntu)
Changed in console-common (Ubuntu):
importance: Undecided → High
status: Incomplete → Triaged
Changed in console-common (Debian):
status: Unknown → New
Changed in console-common (Debian):
status: New → Fix Released
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.