[CentOS] how to prevent files and directories from being deleted?

Wed Oct 4 14:49:07 UTC 2017
Valeri Galtsev <galtsev at kicp.uchicago.edu>

On Wed, October 4, 2017 9:38 am, Gordon Messmer wrote:
> On 10/04/2017 04:54 AM, Mark Haney wrote:
>> Why is it so hard for people to understand that var/run IS NOT
>> PERSISTENT and was never meant to be?  Do they not teach basic Unix
>> concepts anymore?

Well, Linux is not UNIX. And it never was, we used "UNIX-like" system
term. There were far too many changed in Linux some of us do not like. So,
let's take today's Linux (I almost used the word "modern") for what its

> http://www.pathname.com/fhs/pub/fhs-2.3.html#VARRUNRUNTIMEVARIABLEDATA
> While FHS notes that *files* should be cleared during the boot process,
> it does not indicate that directories should be, and that is the source
> of this problem.  Packages on recent Fedora, RHEL, or CentOS releases
> should use tmpfiles.d to define directory structure within /var/run, but
> that is a unique and recent development.

Thanks, Gordon, for pointing to that!


> Please chill out.  There is no need to berate users, here.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos

Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247