From a48bcc46beb414588d25707df6b233611478313d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 3 Aug 2010 23:53:17 +0200 Subject: [PATCH] units: add conflicts between prefdm and getty@tty1 to avoid race for tty1 --- units/fedora/prefdm.service | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/units/fedora/prefdm.service b/units/fedora/prefdm.service index 79a2af39..acce52e0 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 -- 2.39.5