From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: WANG Chao <chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] dracut-initqueue service runs before remote-fs-pre.target
Date: Thu, 03 Apr 2014 10:41:09 +0200 [thread overview]
Message-ID: <533D1EA5.8090008@redhat.com> (raw)
In-Reply-To: <20140403074926.GA25562-2coKmSd1Zb6BYdNaKHuJJRcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
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
prev parent reply other threads:[~2014-04-03 8:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=533D1EA5.8090008@redhat.com \
--to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.