Red Hat Bugzilla – Bug 1394395
Create /var/lib/nfs/etab etc if they don't exist
Last modified: 2016-11-11 16:52:03 EST
For rpm-ostree as used by Atomic Host, we synthesize tmpfiles.d snippets for directories, but not files.
The goal here is that one can perform a "factory reset" by rm -rf /var/* && systemctl reboot.
So currently this requires one to:
I think the simplest is to change the code to create the file on demand if it doesn't exist. Failing that, a systemd tmpfiles.d `f` entry would work fine.
It's possible at some point we'll explicitly special case nfs-utils in rpm-ostree to do this, but I'd like to have nfs-utils learn about this as well.
Cross linking: https://github.com/openshift/openshift-ansible/pull/2789/commits/5e8e5cb144d032b20f88365799709bcd8f0b83fc
*** This bug has been marked as a duplicate of bug 1293933 ***