[ZODB-Dev] restart log weirdness

Greg Ward gward@mems-exchange.org
Fri, 11 Oct 2002 09:59:27 -0400


On 11 October 2002, Toby Dickenson said:
> It is polite for daemon to chdir, rather than relying on whatever directory 
> its parent was using.  It avoid problems where a system administrator cant 
> unmount a filesystem, or delete a directory, simply because it is 'in use' as 
> the daemon's current directory.

I thought the standard thing to do was chdir("/"), to avoid *any*
possible unmounting problems.

> It also gives a predictable location for core dumps.

Gee, that's a good idea, and quite at odds with chdir("/").  Oh well...
But then, Python hardly ever dumps core, right?  ;-)

        Greg