tdecacqu / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone
a1c89c5
From 0fe9972f3c2e20b649e0e7da0e61945253622128 Mon Sep 17 00:00:00 2001
a1c89c5
From: Michal Schmidt <mschmidt@redhat.com>
a1c89c5
Date: Thu, 22 Sep 2011 23:52:38 +0200
a1c89c5
Subject: [PATCH] units: fix rescue.service race with plymouth
a1c89c5
a1c89c5
It was possible for the "ExecStartPre=-/bin/plymouth quit" to race
a1c89c5
with plymouth-start.service which is pulled in indirectly by
a1c89c5
basic.target -> sysinit.target.
a1c89c5
a1c89c5
The race left plymouth running on the terminal, making it unusable for
a1c89c5
rescue purposes.
a1c89c5
a1c89c5
https://bugzilla.redhat.com/show_bug.cgi?id=710487
a1c89c5
---
a1c89c5
 units/rescue.service.m4 |    2 +-
a1c89c5
 1 files changed, 1 insertions(+), 1 deletions(-)
a1c89c5
a1c89c5
diff --git a/units/rescue.service.m4 b/units/rescue.service.m4
a1c89c5
index 8f29de8..19b30d8 100644
a1c89c5
--- a/units/rescue.service.m4
a1c89c5
+++ b/units/rescue.service.m4
a1c89c5
@@ -11,7 +11,7 @@
a1c89c5
 Description=Rescue Shell
a1c89c5
 DefaultDependencies=no
a1c89c5
 Conflicts=shutdown.target
a1c89c5
-After=basic.target
a1c89c5
+After=basic.target plymouth-start.service
a1c89c5
 Before=shutdown.target
a1c89c5
 
a1c89c5
 [Service]
a1c89c5
-- 
a1c89c5
1.7.4.4
a1c89c5