Re: [systemd-devel] [PATCH] detect-virt: detect User-Mode Linux
Ramkumar Ramachandra wrote: It seems that UM does not have a proper tty system; I force systemd to use the /dev/console by doing: $ mv /etc/systemd/system/getty.target.wants/{getty@tty1.service,getty@console.service} Where should the exception for um linux go? When does the code in getty-generator get executed exactly (installation?). The same rootfs can be used in a chroot, or with a vm, so I think the override should be done at runtime. There's already an exception for containers: when detect_container(), install console-getty.service. Should we add one for detect_virtualization() when id = uml? Also, um linux does not seem to respect the console=tty0 kernel parameter (or I'm missing something). ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] [PATCH] detect-virt: detect User-Mode Linux
On Tue, 16.07.13 20:24, Ramkumar Ramachandra (artag...@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@tty1.service,getty@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. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel