chiark / gitweb /
units: add conflicts between prefdm and getty@tty1 to avoid race for tty1
authorLennart Poettering <lennart@poettering.net>
Tue, 3 Aug 2010 21:53:17 +0000 (23:53 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 3 Aug 2010 21:53:17 +0000 (23:53 +0200)
units/fedora/prefdm.service

index 79a2af3..acce52e 100644 (file)
@@ -9,6 +9,10 @@
 Description=Display Manager
 After=syslog.target haldaemon.service
 
+# On Fedora gdm/X11 is on tty1. We explicitly cancel the getty here to
+# avoid any races around that.
+Conflicts=getty@tty1.service
+
 [Service]
 ExecStart=/etc/X11/prefdm -nodaemon