summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-03 23:53:17 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-03 23:53:17 +0200
commita48bcc46beb414588d25707df6b233611478313d (patch)
treee541288898555fa5684e6aceae307d5ce4b76f1d /units
parent56cf987fe74270bde4e16c7ec9e0414a9030723b (diff)
units: add conflicts between prefdm and getty@tty1 to avoid race for tty1
Diffstat (limited to 'units')
-rw-r--r--units/fedora/prefdm.service4
1 files changed, 4 insertions, 0 deletions
diff --git a/units/fedora/prefdm.service b/units/fedora/prefdm.service
index 79a2af39dc..acce52e0de 100644
--- a/units/fedora/prefdm.service
+++ b/units/fedora/prefdm.service
@@ -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