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

Ramkumar Ramachandra artagnon at gmail.com
Fri Jul 19 12:36:20 PDT 2013

User-Mode Linux does not do VT102 emulation, and

  $ vconsole-setup /dev/tty0

will always fail on it.  In order to prevent vconsole-setup.service from
always failing, disable it when uml is detected.

Cc: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Cc: Lennart Poettering <lennart at poettering.net>
Signed-off-by: Ramkumar Ramachandra <artagnon at gmail.com>
 units/systemd-vconsole-setup.service.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/units/systemd-vconsole-setup.service.in b/units/systemd-vconsole-setup.service.in
index 18faa63..3dc3153 100644
--- a/units/systemd-vconsole-setup.service.in
+++ b/units/systemd-vconsole-setup.service.in
@@ -13,6 +13,7 @@ Conflicts=shutdown.target
 After=systemd-readahead-collect.service systemd-readahead-replay.service
 Before=sysinit.target shutdown.target

More information about the systemd-devel mailing list