[systemd-devel] [PATCH] console-getty.service: conflict with vconsole-setup

Ramkumar Ramachandra artagnon at gmail.com
Tue Jul 16 06:21:48 PDT 2013


system-vconsole-setup.service runs systemd-vconsole-setup to set up
virtual consoles, but console-getty.service implies that virtual
consoles aren't present, and that we're falling back to /dev/console.

Cc: Lennart Poettering <lennart at poettering.net>
Signed-off-by: Ramkumar Ramachandra <artagnon at gmail.com>
---
 Noticed on um linux.  Tested.

 units/console-getty.service.m4.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/units/console-getty.service.m4.in b/units/console-getty.service.m4.in
index 0426050..95d8b7c 100644
--- a/units/console-getty.service.m4.in
+++ b/units/console-getty.service.m4.in
@@ -13,6 +13,7 @@ m4_ifdef(`HAVE_SYSV_COMPAT',
 After=rc-local.service
 )m4_dnl
 Before=getty.target
+Conflicts=systemd-vconsole-setup.service
 
 [Service]
 ExecStart=-/sbin/agetty --noclear -s console 115200,38400,9600
-- 
1.8.3.3.754.g9c3c367



More information about the systemd-devel mailing list