Bug#811345: setupcon not run

Samuel Thibault sthibault at debian.org
Sat Jan 23 20:33:59 GMT 2016


Hello,

Shérab, on Wed 20 Jan 2016 08:36:09 +0100, wrote:
> Shérab (2016/01/20 08:29 +0100):
> > > This is most probably a duplicate of 759657 ("console-setup w/ systemd
> > > forgets font setting"), try to add 
> > > 
> > > ACTION=="add", SUBSYSTEM=="vtconsole", KERNEL=="vtcon*", RUN+="/bin/setupcon"
> > > 
> > > to a new /etc/udev/rules.d/90-setupcon.rules file
> > 
> > Yeah that works for me, thanks!
> 
> Actually it works for virtual console 1 but not for the others, I still
> need to run setupcon.

Indeed, that happens to me too: stty -a doesn't show the screen size I
have setup in /etc/default/console-setup. That however does so only for
the console which I have made to always start by setting this:

ln -sf /lib/systemd/system/getty at .service /etc/systemd/getty at tty2.service
ln -sf /lib/systemd/system/getty at .service /etc/systemd/getty at tty3.service

On the other consoles (4, 5 and 6), stty -a shows the proper numbers.

I have checked from the setupcon script: tty2 and tty3 do have proper
numbers when setupcon gets run at boot. That however gets changed by
something later on. Does anybody have any idea what could be changing
it?  Is there something in systemd which might be changing it?

Samuel




More information about the Pkg-systemd-maintainers mailing list