Bug#759657: console-setup w/ systemd forgets font setting

Michael Biebl biebl at debian.org
Thu Dec 10 02:47:24 GMT 2015


Am 10.12.2015 um 00:55 schrieb Samuel Thibault:
> Eric Cooper, on Thu 19 Nov 2015 13:31:57 -0500, wrote:
>> While booting, it looks like the font switches from VGA to Terminus
>> during the boot messages.  But then the screen is cleared and the
>> getty login prompts are back in VGA.  If I run "setupcon" manually, it
>> changes to Terminus.
> 
> So it seems like something is resetting the font back to VGA (and it's
> not console-setup, which loads Terminus).
> 
> systemd people, do you have any idea?  This has started happening with
> the switch to systemd.

From a cursory look, it doesn't seem to be caused by systemd itself but
it's a race condition and the way console-setup works. And the timing
under systemd might simply the different then under sysvinit (it's
usually faster).

When Karsten added the dependency on udev settle, it probably just
changed the timing (by delaying it a little) so made it less likely to
happen.

It might be, that loading the KMS module resets the font.
So maybe console-setup should run when hardware shows up.
This is a shot in the dark, but can you try and create the following
udev rules file:

$ cat /etc/udev/rules.d/90-setupcon.rules
ACTION=="add", SUBSYSTEM=="vtconsole", KERNEL=="vtcon*",
RUN+="/bin/setupcon"


Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20151210/5976c378/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list