Re: [Zope-dev] Re: [ZODB-Dev] ZEO signal feature

2002-10-07 Thread Jamie Heilman
Personally I use http://cr.yp.to/daemontools.html and it solved all these problems for me quite nicely. No more pid files, no more ownership problems, no more logging headaches. I think someone has a HowTo on setting up daemontools with z2.py/stupid logger, but I actually wrote my own logging mo

[Zope-dev] Re: [ZODB-Dev] ZEO signal feature

2002-10-07 Thread Christian Reis
On Mon, Oct 07, 2002 at 07:39:05AM +0100, Toby Dickenson wrote: > On Sunday 06 Oct 2002 4:56 pm, Chris McDonough wrote: > > > > It's probably unavoidable that the log file is opened as root -- > > > it's used to report "can't setuid()". :-) > > Thats what syslog is for. Only issue with syslog i

Re: [Zope-dev] Re: [ZODB-Dev] ZEO signal feature

2002-10-07 Thread Toby Dickenson
On Monday 07 Oct 2002 1:47 pm, Guido van Rossum wrote: > > > Well, there goes zLOG's MinimalLogger implementation. > > > > The module name might be 'MinimalLogger', but everywhere else it is > > known as 'the stupid log'. > > And stupid it is. But it's the only one we've got in the Zope core. :-(

[Zope-dev] Re: [ZODB-Dev] ZEO signal feature

2002-10-07 Thread Guido van Rossum
> > Well, there goes zLOG's MinimalLogger implementation. > > The module name might be 'MinimalLogger', but everywhere else it is > known as 'the stupid log'. And stupid it is. But it's the only one we've got in the Zope core. :-( > > (This only holds for log files owned by a root, right?) >

[Zope-dev] Re: [ZODB-Dev] ZEO signal feature

2002-10-07 Thread Toby Dickenson
On Monday 07 Oct 2002 1:14 pm, Guido van Rossum wrote: > Well, there goes zLOG's MinimalLogger implementation. The module name might be 'MinimalLogger', but everywhere else it is known as 'the stupid log'. > (This only holds for log files owned by a root, right?) No, I dont think ownership i

[Zope-dev] Re: [ZODB-Dev] ZEO signal feature

2002-10-07 Thread Guido van Rossum
[Guido] > > > It's probably unavoidable that the log file is opened as root -- > > > it's used to report "can't setuid()". :-) [Toby] > Thats what syslog is for. > > It is good security practice that a daemon should *never* have a > writeable file descriptor for its log file. If it does, and the

[Zope-dev] Re: [ZODB-Dev] ZEO signal feature

2002-10-06 Thread Toby Dickenson
On Sunday 06 Oct 2002 4:56 pm, Chris McDonough wrote: > > It's probably unavoidable that the log file is opened as root -- > > it's used to report "can't setuid()". :-) Thats what syslog is for. It is good security practice that a daemon should *never* have a writeable file descriptor for its