[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warning: upcoming systemd issue: /var/run

From: Gary E. Miller
Subject: Re: Warning: upcoming systemd issue: /var/run
Date: Thu, 11 Jun 2020 14:21:55 -0700

Yo All!

Many, but not all, distros have moved from storing runtime files in
/var/run to /run.  Examples of runtime files are .pid files and .sock

This is encouraged by FHS 3.0 from 2015:

This is a change from FHS 2.3, from 2004, which preferred /var/run:

Sometime previous to that runtime files might be stored under /etc.

scons now checks the current system for /run and sets the default
accordingly.  Darwin, at least, does not have /run, it still uses /var/run.

The automatically determined default runtime directory can be changed at
configure time:

# scons --config=force rundir=/XX

As before, the location of the .sock files can be changed at

Most distros that support /run have a back compatibility link from /var/run.
So no compatibility issues are expected in the next few years.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgp47j_7K2LTr.pgp
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]