[Openais] change running dir to /var/openais

Ola Lundqvist ola.lundqvist at tietoenator.com
Wed Nov 29 22:40:43 PST 2006


Hi

In order to follow FHS (and LSB), shouldn't this directory be
/var/lib/openais instead? /var/openais do not exist in the FHS standard.

Regards,

// Ola

Steven Dake wrote:
> Patch attached.  Otherwise the ringid and core files are deleted during
> reboot.
> 
> Regards
> -steve
> 
> 
> ------------------------------------------------------------------------
> 
> Index: exec/totemsrp.c
> ===================================================================
> --- exec/totemsrp.c	(revision 1312)
> +++ exec/totemsrp.c	(working copy)
> @@ -690,7 +690,7 @@
>  
>  	rundir = getenv ("OPENAIS_RUN_DIR");
>  	if (rundir == NULL) {
> -		rundir = "/var/run/openais";
> +		rundir = "/var/openais";
>  	}
>  	
>  	res = mkdir (rundir, 0700);
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Openais mailing list
> Openais at lists.osdl.org
> https://lists.osdl.org/mailman/listinfo/openais


-- 
 Ola Lundqvist, Civilingenjör Informationsteknologi
 TietoEnator R&D Services AB, Telecom Platforms
 Email:  ola.lundqvist at tietoenator.com
 Phone:  +46 (0)54-29 42 17



More information about the Openais mailing list