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

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Tue Jul 30 06:46:06 PDT 2013


On Tue, Jul 30, 2013 at 09:43:16AM -0400, Vivek Goyal wrote:
> [CC harald]
> 
> Not sure if this is right way to do or not but I will give more
> background about the issue.
> 
> This assumption seems to be built into initramfs and systemd that root
> should always be mountable. If one can't mount root, it is a fatal
> failure.
> 
> But in case of kdump initramfs, this assumption is no more valid. Core
> might be being saved to a target which is not root (say over ssh). And
> even if mounting root fails, it is ok.
> 
> So we kind of need a mode (possibly driven by command line option) where
> if mouting root failed, it is ok and continue with mouting other targets
> and kdump module will then handle errors.
Maybe rootfsflags=nofail could do be used as this flag?

Zbyszek


More information about the systemd-devel mailing list