Re: [Ganglia-developers] gmetad and OSX 10.4.10

2007-09-10 Thread Bernard Li
Hi guys: On 9/10/07, Brad Nicholes <[EMAIL PROTECTED]> wrote: > That is really the question. I am simply making an assumption without any > way to test it. I would ask those that have access to Max OSX, to apply this > patch and test it before we commit it to 3.0.5 or trunk. The following sn

Re: [Ganglia-developers] gmetad and OSX 10.4.10

2007-09-10 Thread Brad Nicholes
>>> On 9/10/2007 at 3:22 PM, in message <[EMAIL PROTECTED]>, "Bernard Li" <[EMAIL PROTECTED]> wrote: > HI Brad: > > On 9/10/07, Brad Nicholes <[EMAIL PROTECTED]> wrote: > >>But I do have one question regarding the 3.0.5 POLLHUP patch. It looks > like the real problem with the code is that o

Re: [Ganglia-developers] gmetad and OSX 10.4.10

2007-09-10 Thread Bernard Li
HI Brad: On 9/10/07, Brad Nicholes <[EMAIL PROTECTED]> wrote: >But I do have one question regarding the 3.0.5 POLLHUP patch. It looks > like the real problem with the code is that on an EOF, POLLIN and POLLHUP are > actually received together. Therefore, the code in data_thread.c would go

Re: [Ganglia-developers] gmetad and OSX 10.4.10

2007-09-10 Thread Brad Nicholes
>>> On 9/6/2007 at 12:22 PM, in message <[EMAIL PROTECTED]>, "Bernard Li" <[EMAIL PROTECTED]> wrote: > Hi Brad: > > On 8/24/07, Brad Nicholes <[EMAIL PROTECTED]> wrote: > >> I haven't looked at this code yet, but it sounds like something that should > be using the APR API's rather than native AP

[Ganglia-developers] Gmetad/gmond don't change gid

2007-09-10 Thread Richard Mohr
I noticed that while gmetad and gmond can be set to drop their uid values to a non-privileged user (like "nobody"), they do not drop the gid values. Was this an intentional design decision? If not, I think it would be a good idea to drop the gid as well. A simple way to do this without having t