[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: