Systemd stateless systems and factory resets

by
in linux on (#3P2)
Lennart is at it again, this time changing how /etc and /var are populated in a systemd system. In Linux, remember, system-wide configuration data (computer name, startup scripts, and such) are stored under the /etc directory, while all variable state data (caches, mail spools, and such) are stored under the /var directory. Both of these directories have traditionally been preserved across reboots.

With these changes one can perform a "factory reset" by simply removing these two directories and letting the system reconfigure itself with defaults or by dynamic means, such as DHCP. This idea isn't exactly new, as UNIX admins have been doing similar feats for network booting, live disks , and security conscious systems for many years. Still, though, by building it into systemd, wiping the installation to a clean state and maintaining a "stateless" system by default could get a lot easier in future distributions.
Post Comment
Subject
Comment
Captcha
Which digit is 1st in the number 8764980?