[Zope-Coders] new zLOG
Shane Hathaway
shane@zope.com
Tue, 26 Nov 2002 10:38:35 -0500
Chris McDonough wrote:
> On Tue, 2002-11-26 at 09:57, Shane Hathaway wrote:
>
>>I've been trying to find the words to say that. Thank you!
>>
>>I think zLOG should indeed initialize at the first call to zLOG. I also
>>think that Zope should bind its server ports immediately after parsing
>>the configuration, so that it's possible to drop privileges before doing
>>anything else. (Note that binding does not necessarily mean listening
>>or creating a server channel. Some time after privileges have been
>>dropped, we should pass the bound sockets to the server channel
>>constructors.)
>
>
> I know I sound like a broken record, but on the chrism-install-branch,
> this is mostly already done. The only meaningful thing that happens
> before setuid is server initialization. What is not done on that branch
> which is a pretty neat idea is the idea of delaying the listen call
> until after setuid.
Great. It's hard to remember just what you've improved. Keep it up!
:-) The nice thing about delaying the listen call is that Zope won't
look like it's accepting connections until it really is. OTOH, for
development, it might be nicer if Zope started accepting connections
immediately. I guess it could be an option. (Just thinking out loud.)
shane