This looks like a copy/paste error to me...

The "RUN" in COROSYNC_RUN_DIR would seem to imply /var/run
Also /var/lib is persistent and doesn't need to be created at startup.
On the other-hand, LSB states that the contents of /var/run is blow
away at boot time.

So I'm reasonably sure the following patch is correct.
Please ACK.

[02:59 PM] beek...@f12 ~/Development/sources/corosync # svn diff
./exec/totemsrp.c
Index: exec/totemsrp.c
===================================================================
--- exec/totemsrp.c     (revision 2756)
+++ exec/totemsrp.c     (working copy)
@@ -775,7 +775,7 @@

        rundir = getenv ("COROSYNC_RUN_DIR");
        if (rundir == NULL) {
-               rundir = LOCALSTATEDIR "/lib/corosync";
+               rundir = LOCALSTATEDIR "/run/corosync";
        }

        res = mkdir (rundir, 0700);
_______________________________________________
Openais mailing list
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to