---
**[tickets:#3393] /var/run is deprecated in most modern Linux distributions**
**Status:** unassigned
**Milestone:** 5.25.09
**Created:** Thu Dec 18, 2025 06:14 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Dec 18, 2025 06:14 AM UTC
**Owner:** nobody
The use of the /var/run directory is deprecated in favor of the /run directory
on modern Linux systems, as formalized in version 3.0 of the Filesystem
Hierarchy Standard (FHS).
PIDFile= references path below legacy directory /var/run/, updating
/var/run/... → /run/...; please update the unit file accordingly.
It's better to support config runstatedir on build time
https://www.gnu.org/prep/standards/html_node/Directory-Variables.html
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
‘runstatedir’
The directory for installing data files which the programs modify while they
run, that pertain to one specific machine, and which need not persist longer
than the execution of the program—which is generally long-lived, for example,
until the next reboot. PID files for system daemons are a typical use. In
addition, this directory should not be cleaned except perhaps at reboot, while
the general /tmp (TMPDIR) may be cleaned arbitrarily. This should normally be
/var/run, but write it as $(localstatedir)/run. Having it as a separate
variable allows the use of /run if desired, for example. (If you are using
Autoconf 2.70 or later, write it as ‘@runstatedir@’.)
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets