On Thu, Jul 2, 2020, at 11:53 AM, Zbigniew Jędrzejewski-Szmek wrote:

> It would be great if we could fairly reliably boot with a read-only
> root file system,

Eh, just mount a tmpfs for /var, and an overlayfs for /etc (backed by a tmpfs).

That's what we do for Fedora CoreOS based live images, see
https://github.com/coreos/fedora-coreos-config/blob/testing-devel/overlay.d/05core/usr/lib/dracut/modules.d/20live/live-generator
It works.

(Which we recently switched to involve a loopback-mounted xfs on tmpfs because 
SELinux, but that is mostly only necessary because we want to support Ignition 
which does system provisioning in the initramfs, which is not true on 
non-Ignition based systems)
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to