The Clear Linux Project for Intel® Architecture provides a stateless system. It can operate without any custom configuration, for example, a generic host with an empty /etc directory. Stateless systems strictly separate the OS configuration, the per-system configuration, and the VT user-data stored on that system. This separation simplifies maintenance and deployment. In other words, you can configure the host to perform a specific function.
Stateless in Clear Linux
In Clear Linux, stateless is about segregating the distribution-provided data, in /usr, and defaults from the administrator-provided data and configuration, in /etc.
Users and system administrators should not touch the distribution-provided data in . Instead, they can add administrator-specific configuration in /etc for those scenarios where a fully stateless system does not suffice. This configuration overrides the stateless defaults.
Clear Linux provides a compelling solution without breaking familiarity and with continued support for well-known and existing configuration paths:
It is a general-purpose open-source Linux-based distribution focused on cloud use cases.
It provides a fully stateless system for suitable workloads.
It allows administrator-specific configuration for other scenarios.
Picture this: you just made a mistake in configuring OpenStack* on your system, and out of frustration ran the following commands on your Linux distribution as root:
# rm -rf /etc /var # reboot
You just deleted all configuration values! What do you think would happen? How long would it take you to recover? What if you did not have backups?
With the Clear Linux* OS for Intel® Architecture, the system will boot correctly! In fact, these commands effectively perform a factory reset on the system and you can immediately set it up again. Intrigued?