On 06/13/12 13:21, Andrew Beekhof wrote:
On 13/06/2012, at 3:19 PM, Gao,Yan wrote:
On 06/13/12 13:05, Andrew Beekhof wrote:
And just to tie it directly to what we're doing here:
[root@pcmk-1 ~]# su - hacluster -bash-4.2$ ls -al /dev/shm/qb-cib_shm-event-1067-1073-12-data -rw------- 1 hacluster root 524288 Jun 13 15:03 /dev/shm/qb-cib_shm-event-1067-1073-12-data -bash-4.2$ chgrp haclient /dev/shm/qb-cib_shm-event-1067-1073-12-data -bash-4.2$ ls -al /dev/shm/qb-cib_shm-event-1067-1073-12-data -rw------- 1 hacluster haclient 524288 Jun 13 15:03 /dev/shm/qb-cib_shm-event-1067-1073-12-data
Just checked "su". It does initgroups().
Sounds promising... what if we have the plugin's child processes call that too?
Makes sense. I'll do that for it.
Regards, Gao,Yan