Poettering: Factory Reset, Stateless Systems, Reproducible Systems & Verifiable Systems
Poettering: Factory Reset, Stateless Systems, Reproducible Systems & Verifiable Systems
Posted Jun 19, 2014 11:59 UTC (Thu) by Chousuke (subscriber, #54562)In reply to: Poettering: Factory Reset, Stateless Systems, Reproducible Systems & Verifiable Systems by joib
Parent article: Poettering: Factory Reset, Stateless Systems, Reproducible Systems & Verifiable Systems
I imagine this to be out of scope for what systemd needs to do; there are too many ways to solve the problem for it to make sense for systemd to provide the one true way.
I imagine with a stateless system a computer would start up, get an IP via DHCP or IPv6 autoconfiguration, then connect to a fleet cluster eg. via anycast or DNS, and start providing some service. No need for a persistent /etc at all.
Another approach could be a systemd generator included in the base image that does much the same, but dynamically generates systemd units under /run depending on its environment.
