|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
From 4f8af0528de94c6c0e7d8613f257676593a9038b Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
From: WANG Chao <chaowang@redhat.com>
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
Date: Fri, 4 Apr 2014 14:37:42 +0800
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
Subject: [PATCH] dracut-pre-pivot pulls in remote-fs.target
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
It turns out that commit f30b74e (dracut-initqueue service runs before
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
remote-fs-pre.target) is partial fix for remote fs mounts. Because no
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
one pulls in remote-fs.target, we can never start remote fs mounts.
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
Now pull in remote-fs.target in dracut-pre-pivot.
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
Signed-off-by: WANG Chao <chaowang@redhat.com>
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
modules.d/98systemd/dracut-pre-pivot.service | 2 ++
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
1 file changed, 2 insertions(+)
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
diff --git a/modules.d/98systemd/dracut-pre-pivot.service b/modules.d/98systemd/dracut-pre-pivot.service
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
index 6db1f2c077..d7c7b1d785 100644
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
--- a/modules.d/98systemd/dracut-pre-pivot.service
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
+++ b/modules.d/98systemd/dracut-pre-pivot.service
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
@@ -13,6 +13,8 @@ Documentation=man:dracut-pre-pivot.service(8)
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
After=initrd.target initrd-parse-etc.service sysroot.mount
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
After=dracut-initqueue.service dracut-pre-mount.service dracut-mount.service
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
Before=initrd-cleanup.service
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
+Wants=remote-fs.target
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
+After=remote-fs.target
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
ConditionPathExists=/etc/initrd-release
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
ConditionDirectoryNotEmpty=|/lib/dracut/hooks/pre-pivot
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
ConditionDirectoryNotEmpty=|/lib/dracut/hooks/cleanup
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
--
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
1.9.3
|
|
Zbigniew Jędrzejewski-Szmek |
7f4a44 |
|