Hello Steve,
Can we use to env variable to change the openais running directory? Is it officially supported environment variable. I am not finding this in the documentation . However I found it in the openais code and it works for me if I export this variable. Let me know ASAP Regards Ramesh From: Hegde, Ramesh (STSD) Sent: Thursday, December 13, 2007 10:03 PM To: 'Shridhar Sahukar'; [email protected] Subject: RE: [Openais] [Patch:whitetank] Patch to fix issues withOPENAIS_RUN_DIR usage. Hi Shridhar, If I run openais as root once it creates some files in the OPENAIS_RUN_DIR and does not cleanup when stopped. Next time if I try to run as some other user, it fails do run since it cannot overwrite these files. Do you have any patch or solution to fix this issue? Regards Ramesh From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shridhar Sahukar Sent: Thursday, December 13, 2007 3:33 PM To: [email protected] Subject: [Openais] [Patch:whitetank] Patch to fix issues withOPENAIS_RUN_DIR usage. Openais fails with following assertion if OPENAIS_RUN_DIR is set with some relative path. Dec 13 15:15:32.268209 [TOTEM] Couldn't create ./tmp/ringid_192.168.11.13 No such file or directory aisexec: totemsrp.c:2891: memb_ring_id_create_or_load: Assertion `res == sizeof (unsigned long long)' failed. Here I had set OPENAIS_RUN_DIR=./tmp. Note that in totemsrp_initialize, it does a 'chdir' to the OPENAIS_RUN_DIR and then again tries to append the rundir while forming the filename in memb_ring_id_create_or_load, hence the above assertion. The attached patch should fix this issue. Regards, Shridhar
_______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
