units: fix rescue.service race with plymouth

It was possible for the "ExecStartPre=-/bin/plymouth quit" to race
with plymouth-start.service which is pulled in indirectly by
basic.target -> sysinit.target.

The race left plymouth running on the terminal, making it unusable for
rescue purposes.

https://bugzilla.redhat.com/show_bug.cgi?id=710487
This commit is contained in:
Michal Schmidt 2011-09-22 23:52:38 +02:00
parent 1c744f2ba6
commit 0fe9972f3c

View File

@ -11,7 +11,7 @@
Description=Rescue Shell Description=Rescue Shell
DefaultDependencies=no DefaultDependencies=no
Conflicts=shutdown.target Conflicts=shutdown.target
After=basic.target After=basic.target plymouth-start.service
Before=shutdown.target Before=shutdown.target
[Service] [Service]