- **summary**: support config runstatedir when build opensaf package --> build: 
support config runstatedir when build opensaf package



---

**[tickets:#3393] build: support config runstatedir when build opensaf package**

**Status:** accepted
**Milestone:** 5.25.09
**Created:** Thu Dec 18, 2025 06:14 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Dec 18, 2025 06:33 AM UTC
**Owner:** Nguyen Huynh Tai


/var/run is deprecated in most modern Linux distributions
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).

Current opensaf harcode directly base on  localstatedir variable 
$(localstatedir)/run.
It's better to support config runstatedir, default value is 
$(localstatedir)/run.

Since Autoconf 2.70 already support runstatedir. But opensaf does not support 
at the moment.

https://www.gnu.org/prep/standards/html_node/Directory-Variables.html
‘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

Reply via email to