Re: consolechars switches tty since 8b92e87 vt: add an eventinterface

From: Alan Cox
Date: Sun Nov 15 2009 - 12:02:24 EST


> [ In Debian before the end of the S runlevel (boot) console-screen.sh
> is executed (it is not the last script though), where consolechars is
> used for loading console screen font for each tty. In my case it
> evaluates to:
>
> /usr/bin/consolechars --tty=/dev/ttyX -f lat0-sun16
>
> Similarly consolechars is used in setupcon script invoked by
> console-setup (processed after console-screen.sh) to set a font chosen
> by user. ]
>
> The problem is that since 8b92e87 running consolechars switches tty to
> the one provided with --tty option. Last commit I have tested,
> a9366e6, is still affected.

That is a suprise as the code shouldn't be changing the behaviour of any
application unless something happened to rely on the race it fixed. Even
then I wouldn't expect what you see.

What does an strace of that command look like so I can see what ioctls it
issues and in what order.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/