[ZODB-Dev] restart log weirdness

Toby Dickenson tdickenson@geminidataloggers.com
Fri, 11 Oct 2002 14:28:57 +0100


On Friday 11 Oct 2002 1:58 pm, Guido van Rossum wrote:
> I was aware of this and passed an absolute filename.  Besides, I was
> working with the ZEO storage server, which doesn't chdir.  (Why does
> Zope chdir to var?)

It is polite for daemon to chdir, rather than relying on whatever directo=
ry=20
its parent was using.  It avoid problems where a system administrator can=
t=20
unmount a filesystem, or delete a directory, simply because it is 'in use=
' as=20
the daemon's current directory.

It also gives a predictable location for core dumps.

IMO the zeo server should do the same.