From: Lennart Poettering Date: Tue, 3 Aug 2010 21:53:17 +0000 (+0200) Subject: units: add conflicts between prefdm and getty@tty1 to avoid race for tty1 X-Git-Tag: v5~5 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=a48bcc46beb414588d25707df6b233611478313d units: add conflicts between prefdm and getty@tty1 to avoid race for tty1 --- diff --git a/units/fedora/prefdm.service b/units/fedora/prefdm.service index 79a2af39d..acce52e0d 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