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

hw

hw at adminart.net
Sun Oct 1 15:21:32 UTC 2017


Hi,

how can I prevent files/directories like /var/run/mariadb from being
deleted on reboot?  Lighttpd has the same problem.

This breaks services and makes servers non-restartable by anyone else
but the administrator who needs to re-create the needed files and
directories every time and has to figure out what selinux labels they
need.  This causes unnecessary downtimes.

This is entirely inacceptable.  This totally sucks.


-- 
"Didn't work" is an error.



More information about the CentOS mailing list