- **Milestone**: 5.18.04 --> 5.18.12


---

** [tickets:#2503] osaf: Store lock files under /var/lock to comply with FHS**

**Status:** accepted
**Milestone:** 5.18.12
**Created:** Tue Jun 20, 2017 08:19 AM UTC by Anders Widell
**Last Updated:** Fri Feb 02, 2018 12:17 PM UTC
**Owner:** Anders Widell


OpenSAF currently creates lock files under /var/lock/subsys, but this is 
non-standard. 
[FHS](https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html) only 
specifies /var/lock, and some Linux distributions like 
[Ubuntu](http://manpages.ubuntu.com/manpages/zesty/en/man7/hier.7.html) don't 
have a /var/lock/subsys directory.

Alternatively, get rid of the lock files altogether and rely only on PID files 
stored under /run. A PID file should be enough to avoid running more than one 
instance of the service concurrently. We can consider making opensafd (NID) a 
permanent service that manages all other OpenSAF services which shall be up and 
running for as long as OpenSAF is running.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to