Bug#759657: console-setup w/ systemd forgets font setting
- To: 759657@bugs.debian.org
- Cc: Michael Biebl <biebl@debian.org>, Brian Potkin <claremont102@gmail.com>, Samuel Thibault <sthibault@debian.org>, systemd@package.debian.org, Karsten Hilbert <karsten.hilbert@gmx.net>
- Subject: Bug#759657: console-setup w/ systemd forgets font setting
- From: Eric Cooper <ecc@cmu.edu>
- Date: Sat, 12 Dec 2015 11:32:00 -0500
- Message-id: <[🔎] 20151212163200.GA1865@cooper-siegel.org>
- Mail-followup-to: 759657@bugs.debian.org, Michael Biebl <biebl@debian.org>, Brian Potkin <claremont102@gmail.com>, Samuel Thibault <sthibault@debian.org>, systemd@package.debian.org, Karsten Hilbert <karsten.hilbert@gmx.net>
- Reply-to: Eric Cooper <ecc@cmu.edu>, 759657@bugs.debian.org
- In-reply-to: <[🔎] 12122015134819.f514b75a1a05@desktop.copernicus.demon.co.uk>
- References: <144795791731.1389.11340869823534950956.reportbug@stratocaster.home> <[🔎] 20151209235541.GA22973@var.home> <[🔎] 5668E7BC.8070502@debian.org> <[🔎] 12122015134819.f514b75a1a05@desktop.copernicus.demon.co.uk>
On Sat, Dec 12, 2015 at 01:52:29PM +0000, Brian Potkin wrote:
> On Thu 10 Dec 2015 at 03:47:24 +0100, Michael Biebl wrote:
>
> > 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"
>
> This file does it for me up to now. After about 10 reboots the font is
> not being reset back to VGA.
Yes, this solves the problem for my system too. Please consider
adding this to the console-setup package.
--
Eric Cooper e c c @ c m u . e d u
Reply to: