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

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



Am 16.12.2015 um 12:16 schrieb Anton Zinoviev:
> On Thu, Dec 10, 2015 at 03:47:24AM +0100, Michael Biebl wrote:
>>
>> $ cat /etc/udev/rules.d/90-setupcon.rules
>> ACTION=="add", SUBSYSTEM=="vtconsole", KERNEL=="vtcon*",
>> RUN+="/bin/setupcon"
> 
> What does this do? 

It runs setupcon when the backing device for the virtual consoles is
available
See https://www.kernel.org/doc/Documentation/console/console.txt

> Is it possible that console-setup fails to setup the virtual consoles 
> because they don't exist yet?  

I think so, yes

> If yes, then how do we fix this?

Well, see above for a proposed solution.

  Is a
> command such as "echo >/dev/tty5" going to help?

I don't see how that would help.

> One of the things I have in my todo list for console-setup is to make it 
> work during the initrd phase.  Therefore, it will be preferable if the 
> setup of the console doesn't run setupcon directly but by means of the 
> boot scripts in /etc/init.d because these scripts can check whether the 
> initrd has set already the console up or not.

Wouldn't be hard to add this check to setupcon itself.




-- 
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: