I wasn't actually using it in the MPM.  I have a module that needs this
support, and it wasn't working.  Having this function separate from APR
is wrong IMNSHO.  This means that anybody who wants to change
permissions on a lock must implement this feature themselves.  That
isn't going to work long-term.

Regardless, this solves my problem, thanks.

Ryan

----------------------------------------------
Ryan Bloom                  [EMAIL PROTECTED]
645 Howard St.              [EMAIL PROTECTED]
San Francisco, CA 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> 035.nc.rr.com] On Behalf Of Jeff Trawick
> Sent: Wednesday, May 01, 2002 9:31 AM
> To: [EMAIL PROTECTED]
> Cc: [email protected]
> Subject: Re: SYSVSEM locking not working correctly on HP/UX
> 
> "Ryan Bloom" <[EMAIL PROTECTED]> writes:
> 
> > The problem is that in Apache we create the semaphore as root, and
then
> > try to use it as a child process running as nobody.  Of course, the
> > child process doesn't have the rights to access that semaphore.
> 
> which MPM are you using?  see the call to unixd_set_proc_mutex_perms()
> in worker.c...  does HP-UX require different code?  those syscalls
> execute fine on Linux with worker...
> 
> did you get any error_log messages?
> 
> --
> Jeff Trawick | [EMAIL PROTECTED]
> Born in Roswell... married an alien...

Reply via email to