gpsd-users
[Top][All Lists]
Advanced

[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
files.

This is encouraged by FHS 3.0 from 2015:

https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s15.html

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

https://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html#VARRUNRUNTIMEVARIABLEDATA

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
runtime.

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

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  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]