apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <...@covalent.net>
Subject RE: SYSVSEM locking not working correctly on HP/UX
Date Wed, 01 May 2002 16:41:55 GMT
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 Bloom                  rbb@covalent.net
645 Howard St.              rbb@apache.org
San Francisco, CA 

> -----Original Message-----
> From: trawick@rdu88-250-035.nc.rr.com [mailto:trawick@rdu88-250-
> 035.nc.rr.com] On Behalf Of Jeff Trawick
> Sent: Wednesday, May 01, 2002 9:31 AM
> To: rbb@covalent.net
> Cc: dev@apr.apache.org
> Subject: Re: SYSVSEM locking not working correctly on HP/UX
> "Ryan Bloom" <rbb@covalent.net> writes:
> > The problem is that in Apache we create the semaphore as root, and
> > 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 | trawick@attglobal.net
> Born in Roswell... married an alien...

View raw message