Alexander Dalloz
2017-Oct-09 18:32 UTC
[CentOS] how to prevent files and directories from being deleted?
Am 09.10.2017 um 17:54 schrieb Jonathan Billings:> I think that the important learning points today are: > > 1.) CentOS7 (and any other distro that uses systemd) will have /run as > a tmpfs filesystem, and /var/run points to /run on CentOS7, so even if > you think this disagrees with the FHS, that's the way it is for > CentOS.And fun fact: not only RHEL 7 and thus CentOS 7 does so, but too Debian 9 and Ubuntu 16.04 LTS (I have no newer test install of that distro). And frankly speaking, I don't see any indication that this violates with the FHS and that /var/run must persist reboots. Can we please end this stupid discussion? Enough arguments have been exchanged to make clear that packages are broken if they ignore the fact that /var/run content is ephemeral. Alexander
Jon LaBadie
2017-Oct-09 20:31 UTC
[CentOS] how to prevent files and directories from being deleted?
On Mon, Oct 09, 2017 at 08:32:32PM +0200, Alexander Dalloz wrote:> Am 09.10.2017 um 17:54 schrieb Jonathan Billings: > > I think that the important learning points today are: > > > > 1.) CentOS7 (and any other distro that uses systemd) will have /run as > > a tmpfs filesystem, and /var/run points to /run on CentOS7, so even if > > you think this disagrees with the FHS, that's the way it is for > > CentOS. > > And fun fact: not only RHEL 7 and thus CentOS 7 does so, but too Debian 9 > and Ubuntu 16.04 LTS (I have no newer test install of that distro). > > And frankly speaking, I don't see any indication that this violates with the > FHS and that /var/run must persist reboots. >Just the opposite, the FHS condones the CentOS arrangement. Under /var/run it says: "In general, the requirements for /run shall also apply to /var/run. It is valid to implement /var/run as a symlink to /run." jl -- Jon H. LaBadie jon at jgcomp.com 11226 South Shore Rd. (703) 787-0688 (H) Reston, VA 20190 (703) 935-6720 (C)
Valeri Galtsev
2017-Oct-09 20:39 UTC
[CentOS] how to prevent files and directories from being deleted?
On Mon, October 9, 2017 3:31 pm, Jon LaBadie wrote:> On Mon, Oct 09, 2017 at 08:32:32PM +0200, Alexander Dalloz wrote: >> Am 09.10.2017 um 17:54 schrieb Jonathan Billings: >> > I think that the important learning points today are: >> > >> > 1.) CentOS7 (and any other distro that uses systemd) will have /run as >> > a tmpfs filesystem, and /var/run points to /run on CentOS7, so even if >> > you think this disagrees with the FHS, that's the way it is for >> > CentOS. >> >> And fun fact: not only RHEL 7 and thus CentOS 7 does so, but too Debian >> 9 >> and Ubuntu 16.04 LTS (I have no newer test install of that distro). >> >> And frankly speaking, I don't see any indication that this violates with >> the >> FHS and that /var/run must persist reboots. >> > Just the opposite, the FHS condones the CentOS arrangement. > > Under /var/run it says: > > "In general, the requirements for /run shall also apply to /var/run. > It is valid to implement /var/run as a symlink to /run."Indeed, there are many UNIX ties Linux had that were severed by hard work of developing systemd and friends. I guess we just have to live with that (sigh). Valeri> > jl > -- > Jon H. LaBadie jon at jgcomp.com > 11226 South Shore Rd. (703) 787-0688 (H) > Reston, VA 20190 (703) 935-6720 (C) > _______________________________________________ > 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 ++++++++++++++++++++++++++++++++++++++++