Comment 6 for bug 1414251

Revision history for this message
Steve Langasek (vorlon) wrote :

> However, we are soon to land a change to devel-proposed that does in fact
> require both rootfs's so I think we could change the logic very slightly to
> be something like:

The boot must absolutely not be dependent on both partitions being available. Even if one partition has been *completely* scrambled, the system should be resilient and still boot.

So we should only wait-for-root on whichever partition is currently active, and let the other partition be mounted via normal post-initramfs methods (that don't slow the boot down).

> How did you arrive at the 180 timeout? Were lower timeouts not sufficient?

Since the timeout is only for when we completely give up on booting (and - in the ubuntu-core world - fall back to booting the alternate partition), longer is better. If the boot takes so long that the user thinks the system is hung and pushes the power button, that counts as a failed boot and should trigger booting the alternate partition anyway. If the user *doesn't* intervene, we prefer to wait as long as the disk actually takes in practice to become available.