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

Re: Bug#811345: setupcon not run



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@.service /etc/systemd/getty@tty2.service
ln -sf /lib/systemd/system/getty@.service /etc/systemd/getty@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


Reply to: