[Zope-Coders] new zLOG

Chris McDonough chrism@zope.com
26 Nov 2002 10:29:14 -0500


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.

- C