[systemd-devel] [PATCH] detect-virt: detect User-Mode Linux

Lennart Poettering lennart at poettering.net
Tue Jul 16 08:14:20 PDT 2013


On Tue, 16.07.13 20:24, Ramkumar Ramachandra (artagnon at gmail.com) wrote:

> 
> Lennart Poettering wrote:
> > /dev/tty0 only exists
> > on kernels with a VT subsystem
> 
> Yeah, but um Linux boots fine when I do
> 
>   $ mv
>   /etc/systemd/system/getty.target.wants/{getty at tty1.service,getty at tty0.service}

Bu that really just looks like a work-around around some weird bahaviour
of UML. I'd really prefer if UML could be fixed to either support a VC
or not support a VC, but please not "half support" it, by exposing
/dev/tty0 which is supposed to point to the foreground VC but in this
case actually points to some other place that isn't really clear what it
is.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list