[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Monit doesn't detach from the tty
From: |
Mark Ferlatte |
Subject: |
Re: Monit doesn't detach from the tty |
Date: |
Thu, 8 Aug 2002 11:27:50 -0700 |
User-agent: |
Mutt/1.4i |
begin Jan-Henrik Haukeland quote on Thu, Aug 08, 2002 at 07:39:10PM +0200:
> > Heh, I'm back, fresh from the umask issue (BTW, I'm running a copy of
> > monit that does umask save at startup/restore at spawn, and it, at
> > least, does what I want... ;), and found another one.
>
> Okay, I have added the umask code, check it out from cvs and verify
> that it's what you have, please.
Almost. You never reset the umask in spawn to the saved umask. I've
attached the patch that I'm using.
> Okay, I have also refactored Rory's patch for this. It was what I
> originally suspected, the daemonize code is sound except that the fd,
> 0,1, and 2 had to be closed and re-opend to /dev/null.
>
> Seems to work now.
Cool.
M
monit-2.5-1-umask.patch
Description: Text document
pgpN9V1AtrRHS.pgp
Description: PGP signature
- postfix, anyone, (continued)
- Re: postfix, anyone, Christian Hopp, 2002/08/08
- Re: postfix, anyone, rory, 2002/08/08
- Re: postfix, anyone, Mark Ferlatte, 2002/08/08
- Re: Monit doesn't detach from the tty, Rory Toma, 2002/08/07
Re: Monit doesn't detach from the tty, Jan-Henrik Haukeland, 2002/08/07
Re: Monit doesn't detach from the tty, Jan-Henrik Haukeland, 2002/08/08
- Re: Monit doesn't detach from the tty,
Mark Ferlatte <=