Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Date: Fri, 21 Feb 2003 13:08:23 -0500 From: Jason Tishler Subject: Re: 1.3.21 In-reply-to: <20030221153741.GA26756@redhat.com> To: cygwin-developers AT cygwin DOT com Mail-followup-to: cygwin-developers AT cygwin DOT com Message-id: <20030221180822.GB1408@tishler.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i References: <20030221153741 DOT GA26756 AT redhat DOT com> On Fri, Feb 21, 2003 at 10:37:41AM -0500, Christopher Faylor wrote: > Is there anything wonderful waiting in the wings? Um, maybe... I just upgraded exim to 4.12-3 from 4.10-2 and exim started to misbehave when run under Cygwin CVS (from 2003-02-20). First, I noticed the following in exim's log file: 2003-02-21 11:06:10 cannot find smtp/tcp service when starting daemon Under strace or gdb, the above problem did not occur. Instead, I got the following: 2003-02-21 11:11:06 IPv4 socket creation failed: Operation not permitted which is further on during the initialization of the daemon. I tracked the first problem down to the following exim code: if (default_smtp_port < 0) { struct servent *smtp_service; if ((smtp_service = getservbyname("smtp", "tcp")) == NULL) log_write(0, LOG_MAIN|LOG_PANIC_DIE, "cannot find smtp/tcp service " "when starting daemon"); default_smtp_port = ntohs(smtp_service->s_port); } I wrote a small test program to drive getservbyname() and it works just fine. I really needed to send some email so I switch back to exim 4.10-2 and exim works as before. Sorry, this is as far as I have gotten with this one... I will try 1.3.20-1, the latest snapshot, and debug some more. I hope to report back soon with something more useful. Maybe this post should have gone to cygwin@ or /dev/null instead... :,) Thanks, Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6