On 07/10/14 at 11:28am, Vivek Goyal wrote:
On Tue, Jun 17, 2014 at 03:07:58PM +0800, WANG Chao wrote:
> Currently in kdump initramfs, mount units specified in /etc/fstab are
> required by "local-fs.target". When any of these mounts fails,
> local-fs.target fails.
>
> For kdump initramfs, we need to isolate to emergency service on any of
> the mount failure,
Hi Chao,
I can't remember that why do we need to isolate to emergency service on
any of the mount failures?
If we don't isolate, system will continue to boot and causing emergency
service to be shut down at some point later.
What's the default behavior currently if one of the specified mount fails
to mount.
W/o x-initrd.mount, mount failure doesn't trigger emergency service.
W/ x-initrd.mount, mount failure is critical and emergency will start.
It has been long since I looked at these patches. Trying to fault all the
context back in.
Me too. It gets easily to forget because of all the hidden relations
among systemd mount/service/target. Hope it won't take you long to sort
out.
Thanks
WANG Chao