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

Tom Gundersen teg at jklm.no
Tue Jul 30 07:40:01 PDT 2013


On Tue, Jul 30, 2013 at 4:13 PM, Harald Hoyer <harald at redhat.com> wrote:
> On 07/30/2013 03:46 PM, Zbigniew Jędrzejewski-Szmek wrote:
>> Maybe rootfsflags=nofail could do be used as this flag?
>
> rootfsflags=nofail sounds ok, if it is not used for booting the initial system.

Yeah, you are right, this looks like it should just work.

Though the behavior of initrd-parse-etc.service and
initrd-switch-root.service will be non-deterministic if this flag is
specified (unless I'm missing something). Maybe they should be
explicitly ordered After/Wants=sysroot.mount ? That may cause a long
timeout, but at least there will be no emergency mode.

-t


More information about the systemd-devel mailing list