[Openais] change running dir to /var/openais

Steven Dake sdake at redhat.com
Thu Nov 30 09:51:52 PST 2006


I am happy to change it yet again.  I wasn't sure what the proper
location should be.  Other tools such as xen use /var/xen however.

Could you point me at the spec/page # that says /var/lib should be used?

Regards
steve

On Thu, 2006-11-30 at 07:40 +0100, Ola Lundqvist wrote:
> 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
> 
> 




More information about the Openais mailing list