[systemd-devel] [PATCH] fstab-generator: introduce rd.weak_sysroot to bypass failures in sysroot.mount

Tom Gundersen teg at jklm.no
Tue Jul 30 05:05:08 PDT 2013


On Tue, Jul 30, 2013 at 1:53 PM, WANG Chao <chaowang at redhat.com> wrote:
> If specified kernel command line rd.weak_sysroot, fstab-generate will
> generate a weaker version of sysroot.mount:
>  - It's not required by initrd-root-fs.target.
>  - It's not before initrd-root-fs.target.
>
> So that failure in the weaker sysroot.mount will not fail
> initrd-root-fs.target. And systemd will try continue rather than
> entering isolated emergency mode.

Can you give an example case where this is useful? I.e., what is the
setup and how is boot supposed to succeed with a failing sysroot?

-t


More information about the systemd-devel mailing list