[CentOS] /var/run/... being deleted :((
Anand Buddhdev
anandb at ripe.net
Fri Oct 13 18:09:45 UTC 2017
On 13/10/2017 18:45, Lamar Owen wrote:
Hi Lamar,
[snip]
I do appreciate your humour :)
> Anyway, a form of pseudo-persistence that meets the OP's needs is
> already supported directly by systemd-tmpfiles, which is a part of the
> core systemd package and non-optional, so your vehement disagreement is
> moot, sorry. The round hole already has a square-peg adapter, at least
> in CentOS 7. Packagers just need to select the proper 'adapter' for
> systemd-tmpfiles; the adaptation is not (and should not be, in my
> opinion) automatic.
systemd-tmpfiles is not a hack, nor is it an adaptor. It's a core part
of systemd, and is meant to be used as has been described many times in
this thread.
What I am very much against are the various suggestions to save /var/run
on shutdown and restore it, or other pseudo packages to do similar
stuff. None of that is needed. systemd-tmpfiles is the correct and only
way to create files and directories in /var/run (and any other place) as
needed.
More information about the CentOS
mailing list