[systemd-devel] [PATCH 2/2] vconsole-setup: setup negative conditional on uml

Kay Sievers kay at vrfy.org
Sat Jul 20 09:22:19 PDT 2013

On Sat, Jul 20, 2013 at 12:38 PM, Ramkumar Ramachandra
<artagnon at gmail.com> wrote:
> Kay Sievers wrote:
>> It's not about failing it, that would be ugly, sure. Vconsole can just
>> give up and return 0 if it finds a tt0 that actually isn't a tty0.
> Hm, how can I tell if vconsole-setup actually did something or not
> then?  Doesn't it matter for curses apps, which require VT102
> emulation to interpret escape sequences correctly?

Oh, I meant turning is_vconsole() into returning success when it is
called for a tty0 that in fact doesn't work like tty0. :)

That would make all the weird (I expect there are more things like
that) tty0 setups just skip the service without additional explicit
conditions in the unit file.


More information about the systemd-devel mailing list