[systemd-devel] DynamicUsers and read-only /var

Lennart Poettering lennart at poettering.net
Wed May 16 20:41:14 UTC 2018


On Mi, 16.05.18 16:33, Antoine Pietri (antoine.pietri1 at gmail.com) wrote:

> Hi Jérémy,
> 
> On Wed, May 16 at 13:05 PM, Jérémy Rosen <jeremy.rosen at smile.fr> wrote:
> > hmm, I think you could have the whole /var as a tmpfs and use
> > systemd-tmpfiles (man:tmpfiles.d) to initialize /var at startup by
> > copying some template directory from a read-only location (typicalli in
> > /usr)
>
> That's another interesting workaround, but ideally we'd like to let

It's not a "workaround". It's the recommended mode of operation to
support stateless systems and "factory reset" concepts, i.e. systems
that start with an empty, uninitialized /var.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list