On 12/15/2010 05:54 AM, Stephan, Yann wrote:
> I am looking at the Whitetank delivery done in the Rhel 5.5 But is
> marked as unsupported on www.openais.org, can you clarify this, because
> I am not clear.
>
> Is RedHat is supporting the Whitetank ?
>
The community no longer maintains a specific release schedule or release
process for whitetank (we have moved on to corosync). This is why it is
"unmaintained".
Red Hat, on the other hand, absolutely supports whitetank in their
products for the lifetime of RHEL5. This mailing list is not the
appropriate place to discuss vendor specific products. Please contact
your vendor for support questions.
>
>
> I am raising this question because I am facing an issue with
> openais-0.80.6-8
>
>
>
> openais runs as a Service (so is endorsed by root)
>
>
>
> I want to communicate between openais and another process which not root
> owned on the same system.
>
> But I found the following thing, is that the shmget (RW for owner)
> cannot be opened.
>
>
We added support to corosync to do this called "uidgid.d" directory.
But this is not available in openais.
>
> So, another process cannot communicate with the shared memory.
>
>
>
> Question:
>
> ยท Is there a way to execute openais in non root mode without
> touching the packaging or anything else just by configuration ?
>
> If not, it will be nice to have in the openais.conf a way to declare how
> we want the shmget right (advanced mode only)
>
>
>
> Regards,
>
>
>
> Thanks in advance for you answers
>
>
>
> Yann
>
>
>
>
>
> // From ipc.c
>
> conn_info->shmid = shmget
> (conn_info->shmkey,
>
> sizeof (struct
> shared_memory), *0600*);
>
>
>
> // From util.c
>
> /*
>
> * Allocate a shared memory segment
>
> */
>
> do {
>
> shmkey = random();
>
> ipc_segment->shmid = shmget (shmkey,
> sizeof (struct shared_memory),
>
> IPC_CREAT|IPC_EXCL|*0600*);
>
> } while (ipc_segment->shmid == -1);
>
>
>
> /*
>
> * Allocate a semaphore segment
>
> */
>
> do {
>
> semkey = random();
>
> ipc_segment->semid = semget (semkey, 3,
> IPC_CREAT|IPC_EXCL|*0600*);
>
> ipc_segment->euid = geteuid ();
>
> } while (ipc_segment->semid == -1);
>
>
>
> Moreover, this kind of loop is dangerous and sys calls errors are badly
> handled.
>
> We succeed to lead to an ipc shortage with this issue due to a SE Linux
> issue during our tests.
>
>
>
> ----------------------------------------------------------------------------------------------------------------
>
> Name : openais Relocations: (not relocatable)
>
> Version : 0.80.6 Vendor: Red Hat, Inc.
>
> Release : 8.el5 Build Date: Thu 25 Jun 2009
> 06:03:03 PM CEST
>
> Install Date: Mon 29 Nov 2010 09:49:36 AM CET Build Host:
> x86-002.build.bos.redhat.com
>
> Group : System Environment/Base Source RPM:
> openais-0.80.6-8.el5.src.rpm
>
> Size : 914047 License: BSD
>
> Signature : DSA/SHA1, Tue 04 Aug 2009 07:26:40 AM CEST, Key ID
> 5326810137017186
>
> Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
>
> URL : http://developer.osdl.org/dev/openais/
>
> Summary : The openais Standards-Based Cluster Framework executive
> and APIs
>
> Description :
>
> This package contains the openais executive, openais service handlers,
>
> default configuration files and init script.
>
>
>
>
>
>
>
> _______________________________________________
> Openais mailing list
> [email protected]
> https://lists.linux-foundation.org/mailman/listinfo/openais
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais