|
Harald Hoyer |
e3ef57 |
From b03e991113f7e33c0fd072e16d4ebd862542e720 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
e3ef57 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
e3ef57 |
Date: Thu, 21 Jun 2012 01:08:03 +0200
|
|
Harald Hoyer |
e3ef57 |
Subject: [PATCH] systemd: fixed ordering of services
|
|
Harald Hoyer |
e3ef57 |
|
|
Harald Hoyer |
e3ef57 |
---
|
|
Harald Hoyer |
e3ef57 |
modules.d/98systemd/dracut-initqueue.service | 3 ++-
|
|
Harald Hoyer |
e3ef57 |
modules.d/98systemd/dracut-pre-trigger.service | 5 +++--
|
|
Harald Hoyer |
e3ef57 |
modules.d/98systemd/dracut-pre-udev.service | 4 +++-
|
|
Harald Hoyer |
e3ef57 |
3 files changed, 8 insertions(+), 4 deletions(-)
|
|
Harald Hoyer |
e3ef57 |
|
|
Harald Hoyer |
e3ef57 |
diff --git a/modules.d/98systemd/dracut-initqueue.service b/modules.d/98systemd/dracut-initqueue.service
|
|
Harald Hoyer |
e3ef57 |
index c87e6a0..89aa304 100644
|
|
Harald Hoyer |
e3ef57 |
--- a/modules.d/98systemd/dracut-initqueue.service
|
|
Harald Hoyer |
e3ef57 |
+++ b/modules.d/98systemd/dracut-initqueue.service
|
|
Harald Hoyer |
e3ef57 |
@@ -10,7 +10,8 @@
|
|
Harald Hoyer |
e3ef57 |
[Unit]
|
|
Harald Hoyer |
e3ef57 |
Description=Dracut initqueue hook
|
|
Harald Hoyer |
e3ef57 |
DefaultDependencies=no
|
|
Harald Hoyer |
e3ef57 |
-After=systemd-udev-trigger.service
|
|
Harald Hoyer |
e3ef57 |
+After=systemd-udev-trigger.service udev-trigger.service
|
|
Harald Hoyer |
e3ef57 |
+Wants=systemd-udev-trigger.service udev-trigger.service
|
|
Harald Hoyer |
e3ef57 |
|
|
Harald Hoyer |
e3ef57 |
[Service]
|
|
Harald Hoyer |
e3ef57 |
Environment=HOME=/
|
|
Harald Hoyer |
e3ef57 |
diff --git a/modules.d/98systemd/dracut-pre-trigger.service b/modules.d/98systemd/dracut-pre-trigger.service
|
|
Harald Hoyer |
e3ef57 |
index 18eb8fc..1ab07a1 100644
|
|
Harald Hoyer |
e3ef57 |
--- a/modules.d/98systemd/dracut-pre-trigger.service
|
|
Harald Hoyer |
e3ef57 |
+++ b/modules.d/98systemd/dracut-pre-trigger.service
|
|
Harald Hoyer |
e3ef57 |
@@ -10,8 +10,9 @@
|
|
Harald Hoyer |
e3ef57 |
[Unit]
|
|
Harald Hoyer |
e3ef57 |
Description=Dracut pre-trigger hook
|
|
Harald Hoyer |
e3ef57 |
DefaultDependencies=no
|
|
Harald Hoyer |
e3ef57 |
-After=systemd-udev.service
|
|
Harald Hoyer |
e3ef57 |
-Before=systemd-udev-trigger.service
|
|
Harald Hoyer |
e3ef57 |
+Before=systemd-udev-trigger.service udev-trigger.service dracut-initqueue.service
|
|
Harald Hoyer |
e3ef57 |
+After=dracut-pre-udev.service systemd-udev.service udev.service
|
|
Harald Hoyer |
e3ef57 |
+Wants=dracut-pre-udev.service systemd-udev.service udev.service
|
|
Harald Hoyer |
e3ef57 |
|
|
Harald Hoyer |
e3ef57 |
[Service]
|
|
Harald Hoyer |
e3ef57 |
Environment=HOME=/
|
|
Harald Hoyer |
e3ef57 |
diff --git a/modules.d/98systemd/dracut-pre-udev.service b/modules.d/98systemd/dracut-pre-udev.service
|
|
Harald Hoyer |
e3ef57 |
index 9b2d929..579316e 100644
|
|
Harald Hoyer |
e3ef57 |
--- a/modules.d/98systemd/dracut-pre-udev.service
|
|
Harald Hoyer |
e3ef57 |
+++ b/modules.d/98systemd/dracut-pre-udev.service
|
|
Harald Hoyer |
e3ef57 |
@@ -10,7 +10,9 @@
|
|
Harald Hoyer |
e3ef57 |
[Unit]
|
|
Harald Hoyer |
e3ef57 |
Description=Dracut pre-udev hook
|
|
Harald Hoyer |
e3ef57 |
DefaultDependencies=no
|
|
Harald Hoyer |
e3ef57 |
-Before=systemd-udev.service
|
|
Harald Hoyer |
e3ef57 |
+Before=systemd-udev.service udev.service dracut-pre-trigger.service
|
|
Harald Hoyer |
e3ef57 |
+After=dracut-cmdline.service
|
|
Harald Hoyer |
e3ef57 |
+Wants=dracut-cmdline.service
|
|
Harald Hoyer |
e3ef57 |
|
|
Harald Hoyer |
e3ef57 |
[Service]
|
|
Harald Hoyer |
e3ef57 |
Environment=HOME=/
|