6 messages in net.sourceforge.lists.courier-users[courier-users] Re: Dead again
FromSent OnAttachments
Daniel StormAug 1, 2002 8:17 am 
Sam VarshavchikAug 1, 2002 8:45 am 
Daniel StormAug 1, 2002 9:42 am 
Sam VarshavchikAug 1, 2002 10:16 am.txt
Daniel StormAug 1, 2002 12:42 pm 
Daniel StormAug 1, 2002 4:02 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: Dead againActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Aug 1, 2002 10:16:57 am
List:net.sourceforge.lists.courier-users
Attachments:

Daniel Storm writes:

This is what truss shows:

tralala# truss -p 9231 poll(0xFFBEF640, 1, -1) (sleeping...) Received signal #1, SIGHUP, in poll() [caught] poll(0xFFBEF640, 1, -1) Err#4 EINTR setcontext(0xFFBEF328) poll(0xFFBEF640, 1, -1) (sleeping...) Received signal #1, SIGHUP, in poll() [default] . ^^^^^^^ siginfo: SIGHUP pid=9387 uid=0

Yup, that's exactly what Solaris is doing. This is a simple fix.

Is there an obvious solution (other than not running makesmtpaccess).

Well, this is going to fix it.

-- Sam

Index: tcpd/tcpd.c =================================================================== RCS file: /cvsroot/courier/libs/tcpd/tcpd.c,v retrieving revision 1.31 retrieving revision 1.32 diff -U3 -r1.31 -r1.32 --- tcpd/tcpd.c 11 Jul 2002 12:22:53 -0000 1.31 +++ tcpd/tcpd.c 1 Aug 2002 15:58:21 -0000 1.32 @@ -55,7 +55,7 @@

#include <netdb.h>

-static const char rcsid[]="$Id: tcpd.c,v 1.31 2002/07/11 12:22:53 mrsam Exp $"; +static const char rcsid[]="$Id: tcpd.c,v 1.32 2002/08/01 15:58:21 mrsam Exp $";

static const char *accessarg=0; static const char *listenarg=0; @@ -191,6 +191,8 @@ static RETSIGTYPE sighup(int n) { sighup_received=1; + + signal(SIGHUP, sighup);

#if RETSIGTYPE != void return (0)