From: Emanuele Giuseppe Esposito <eesposit@xxxxxxxxxx> redhat: create 'systemd-volatile-overlay' addon for UKI Create 'systemd.volatile=overlay' UKI addon. This is option allows to overlay the whole root with an overlayfs which is backed up in tmpfs. Which means that any write will be lost on reboot. This option is especially useful when the root is dm-verity protected, which means it is mounted as RO, and the workload type running on the system doesn't rely on storing data, such as running containers. Note that systemd.volatile=state doesn't really work on Fedora/RHEL, as it just mounts tmpfs on /var but root stays RW (should be RO according with docs), and systemd.volatile=etc puts a tmpfs on top of root, resetting the system (and most importantly /etc) completely which then makes the system unusable. Signed-off-by: Emanuele Giuseppe Esposito <eesposit@xxxxxxxxxx> diff --git a/redhat/uki_addons/common/systemd-volatile-overlay.addon b/redhat/uki_addons/common/systemd-volatile-overlay.addon new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/uki_addons/common/systemd-volatile-overlay.addon @@ -0,0 +1 @@ +systemd.volatile=overlay \ No newline at end of file -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3809 -- _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue