Blame SOURCES/0163-dracut-initqueue-service-runs-before-remote-fs-pre.t.patch

712866
From 251d5b65e331b89249d4ce1b626a738874dfef06 Mon Sep 17 00:00:00 2001
712866
From: WANG Chao <chaowang@redhat.com>
712866
Date: Thu, 3 Apr 2014 15:49:26 +0800
712866
Subject: [PATCH] dracut-initqueue service runs before remote-fs-pre.target
712866
712866
With the following commit, dracut doesn't mount anything from /etc/fstab
712866
712866
commit e920bfb
712866
Author: WANG Chao <chaowang@redhat.com>
712866
Date:   Tue Apr 1 15:20:49 2014 +0800
712866
712866
    fstab: do not mount and fsck from fstab if using systemd
712866
712866
But systemd doesn't mount nfs at all, because no unit is pulling in
712866
remote-fs.target.
712866
712866
dracut must pull in these remote fs mount and all these remote mounts
712866
should start only after network is up (ie. after dracut-initqueue).
712866
712866
Signed-off-by: WANG Chao <chaowang@redhat.com>
712866
(cherry picked from commit b31250e7e6e6e104674dc304ba74965bb56074d6)
712866
---
712866
 modules.d/98systemd/dracut-initqueue.service | 2 ++
712866
 1 file changed, 2 insertions(+)
712866
712866
diff --git a/modules.d/98systemd/dracut-initqueue.service b/modules.d/98systemd/dracut-initqueue.service
5c6c2a
index 03dcc4eb..1b9e701b 100644
712866
--- a/modules.d/98systemd/dracut-initqueue.service
712866
+++ b/modules.d/98systemd/dracut-initqueue.service
712866
@@ -11,6 +11,8 @@
712866
 Description=dracut initqueue hook
712866
 Documentation=man:dracut-initqueue.service(8)
712866
 DefaultDependencies=no
712866
+Before=remote-fs-pre.target
712866
+Wants=remote-fs-pre.target
712866
 After=systemd-udev-trigger.service
712866
 Wants=systemd-udev-trigger.service
712866
 ConditionPathExists=/etc/initrd-release