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] systemd: pre-pivot hooks runs after /sysroot is mounted
Date: Mon, 19 Aug 2013 15:51:19 +0200 [thread overview]
Message-ID: <521222D7.7080702@redhat.com> (raw)
In-Reply-To: <20130816051328.GA30982-ALckc1lQpMDv8MId6FTy5BcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
On 08/16/2013 07:13 AM, WANG Chao wrote:
> If rootflags=nofail, sysroot.mount won't strictly run "Before"
> initrd-root-fs.target. So we need to order dracut-pre-pivot after
> sysroot.mount.
> ---
> modules.d/98systemd/dracut-pre-pivot.service | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/modules.d/98systemd/dracut-pre-pivot.service b/modules.d/98systemd/dracut-pre-pivot.service
> index 56818b9..dd4e49b 100644
> --- a/modules.d/98systemd/dracut-pre-pivot.service
> +++ b/modules.d/98systemd/dracut-pre-pivot.service
> @@ -10,7 +10,7 @@
> [Unit]
> Description=dracut pre-pivot and cleanup hook
> Documentation=man:dracut-pre-pivot.service(8)
> -After=initrd.target initrd-parse-etc.service
> +After=initrd.target initrd-parse-etc.service sysroot.mount
> After=dracut-initqueue.service dracut-pre-mount.service dracut-mount.service
> Before=initrd-cleanup.service
> ConditionPathExists=/etc/initrd-release
>
Thanks!
Pushed
prev parent reply other threads:[~2013-08-19 13:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-16 5:13 [PATCH] systemd: pre-pivot hooks runs after /sysroot is mounted WANG Chao
[not found] ` <20130816051328.GA30982-ALckc1lQpMDv8MId6FTy5BcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
2013-08-19 13:43 ` WANG Chao
2013-08-19 13:51 ` 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=521222D7.7080702@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox