22-Jun-99 15:03 you wrote:
> On Tue, Jun 22, 1999, GOMEZ Henri wrote:
>> > > In /var/run directory, the httpd.mm.sem file is
>> > > owned by root. Mustn't it be by nobody ?
>> > > When I chown to nobody, seems to work normally.
>> >
>> [GOMEZ Henri] I could see there is 2 files in /var/run with .sem
>> extensions :
>>
>> httpd.mm.sem owned by root
>> ssl_scache.sem which is owned by nobody !
>>
>> [GOMEZ Henri] Who create httpd.mm.sem ?
> httpd.mm.sem is the mutex lock for the MM library
> and ssl_scache.sem is the mutex lock of mod_ssl.
> But both should be owned by nobody, of course.
With current version of EAPI httpd.mm.sem will be owned by root for sure.
This file is created via ap_init_alloc_shared from REALMAIN ...
WELL before switch from root to nobody. Before even config reading !
Take look on eapi.patch:
-- cut --
@@ -4570,6 +4660,10 @@
}
#endif /* TPF */
+#ifdef EAPI
+ ap_init_alloc_shared();
+#endif
+
ap_suexec_enabled = init_suexec();
server_conf = ap_read_config(pconf, ptrans, ap_server_confname);
-- cut --
Is it really good place for this call ? Or may be we just need one more chown
somewhere ? In present state mod_ssl 2.3.5 + mm 1.0.7 need some punch on
startup and this is Bad Thing[tm].
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]