From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harald Hoyer Subject: Re: [PATCH] dracut-initqueue service runs before remote-fs-pre.target Date: Thu, 03 Apr 2014 10:41:09 +0200 Message-ID: <533D1EA5.8090008@redhat.com> References: <20140403074926.GA25562@dhcp-17-89.nay.redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140403074926.GA25562-2coKmSd1Zb6BYdNaKHuJJRcY2uh10dtjAL8bYrjMMd8@public.gmane.org> Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: WANG Chao Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@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 > 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 > --- > 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