Bug#811345: setupcon not run

Samuel Thibault sthibault at debian.org
Sat Jan 23 21:26:17 GMT 2016


Samuel Thibault, on Sat 23 Jan 2016 22:12:13 +0100, wrote:
> I tried to run stty rows 20 on tty2, then run
> 
> systemctl restart getty at tty2.service
> 
> and that does reset the stty rows to the default 48 of my fbcon.

And that happens on auto-started gettys too.

Commenting this from /lib/systemd/system/getty at .service:

TTYVTDisallocate

does fix the issue: the tty size is preserved from the setupcon call.
So what happens is that since systemd disallocates the console, the tty
size is lost, and when recreated, it defaults to the VT driver default
size, instead of what setupcon wanted to configure. fbcon systematically
recomputes the VT size according to the fontsize.

Should udev or systemd perhaps provide some hook to configure a
just-created VT?

Samuel





More information about the Pkg-systemd-maintainers mailing list