* Tim Connors ([EMAIL PROTECTED]) [050111 13:25]:
> On Tue, 11 Jan 2005, Andreas Barth wrote:
> > * Tim Connors ([EMAIL PROTECTED]) [050111 10:55]:
> > > For reasons that I can't determine, the change to os.close(2) on the
> > > child, in order to ensure proper daemonisation, does not work on one
> > > of my systems.
> >
> > Does it work without os.close(2)? And, does it work with adding a
 
> Without - yes it worked - but then we have the problem that the original
> bug report (268113 -- forgot to submit this report as a followup to that
> bug instead of creating a new one) was about.

Of course. That was just a tester for me theory :)

> > os.dup2(out_fd, 2) after the os.close(2)?

> Why yes - I think that's the ticket. Seems to solve both problems!
> 
> 'Course, don't know what happens when something decides to error out and
> start writing to stderr at the wrong time...

Well, the "real patch" will contain a redirection to /dev/null - or
perhaps to the log file that's suggested in yet another bug report. In
either case, IMHO the ssh is broken as it cannot deal with a closed
stderr, but I'll implement a work around in the next upload.


Cheers,
Andi
-- 
   http://home.arcor.de/andreas-barth/
   PGP 1024/89FB5CE5  DC F1 85 6D A6 45 9C 0F  3B BE F1 D0 C5 D1 D9 0C


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to