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

Harald Hoyer harald at redhat.com
Tue Jul 30 07:13:24 PDT 2013


On 07/30/2013 03:46 PM, Zbigniew Jędrzejewski-Szmek wrote:
> 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
> 

rootfsflags=nofail sounds ok, if it is not used for booting the initial system.


More information about the systemd-devel mailing list