* [PATCH] dracut-initqueue service runs before remote-fs-pre.target
@ 2014-04-03 7:49 WANG Chao
[not found] ` <20140403074926.GA25562-2coKmSd1Zb6BYdNaKHuJJRcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: WANG Chao @ 2014-04-03 7:49 UTC (permalink / raw)
To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA
With the following commit, dracut doesn't mount anything from /etc/fstab
commit e920bfb
Author: WANG Chao <chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Date: Tue Apr 1 15:20:49 2014 +0800
fstab: do not mount and fsck from fstab if using systemd
But systemd doesn't mount nfs at all, because no unit is pulling in
remote-fs.target.
dracut must pull in these remote fs mount and all these remote mounts
should start only after network is up (ie. after dracut-initqueue).
Signed-off-by: WANG Chao <chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
modules.d/98systemd/dracut-initqueue.service | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules.d/98systemd/dracut-initqueue.service b/modules.d/98systemd/dracut-initqueue.service
index 03dcc4e..1b9e701 100644
--- a/modules.d/98systemd/dracut-initqueue.service
+++ b/modules.d/98systemd/dracut-initqueue.service
@@ -11,6 +11,8 @@
Description=dracut initqueue hook
Documentation=man:dracut-initqueue.service(8)
DefaultDependencies=no
+Before=remote-fs-pre.target
+Wants=remote-fs-pre.target
After=systemd-udev-trigger.service
Wants=systemd-udev-trigger.service
ConditionPathExists=/etc/initrd-release
--
1.8.5.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dracut-initqueue service runs before remote-fs-pre.target
[not found] ` <20140403074926.GA25562-2coKmSd1Zb6BYdNaKHuJJRcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
@ 2014-04-03 8:41 ` Harald Hoyer
0 siblings, 0 replies; 2+ messages in thread
From: Harald Hoyer @ 2014-04-03 8:41 UTC (permalink / raw)
To: WANG Chao; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA
Am 03.04.2014 09:49, schrieb WANG Chao:
> With the following commit, dracut doesn't mount anything from /etc/fstab
>
> commit e920bfb
> Author: WANG Chao <chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> Date: Tue Apr 1 15:20:49 2014 +0800
>
> fstab: do not mount and fsck from fstab if using systemd
>
> But systemd doesn't mount nfs at all, because no unit is pulling in
> remote-fs.target.
>
> dracut must pull in these remote fs mount and all these remote mounts
> should start only after network is up (ie. after dracut-initqueue).
>
> Signed-off-by: WANG Chao <chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> ---
> modules.d/98systemd/dracut-initqueue.service | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/modules.d/98systemd/dracut-initqueue.service b/modules.d/98systemd/dracut-initqueue.service
> index 03dcc4e..1b9e701 100644
> --- a/modules.d/98systemd/dracut-initqueue.service
> +++ b/modules.d/98systemd/dracut-initqueue.service
> @@ -11,6 +11,8 @@
> Description=dracut initqueue hook
> Documentation=man:dracut-initqueue.service(8)
> DefaultDependencies=no
> +Before=remote-fs-pre.target
> +Wants=remote-fs-pre.target
> After=systemd-udev-trigger.service
> Wants=systemd-udev-trigger.service
> ConditionPathExists=/etc/initrd-release
>
Thanks! pushed
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-03 8:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-03 7:49 [PATCH] dracut-initqueue service runs before remote-fs-pre.target WANG Chao
[not found] ` <20140403074926.GA25562-2coKmSd1Zb6BYdNaKHuJJRcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
2014-04-03 8:41 ` Harald Hoyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox