delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2003/02/21/13:04:19

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <jason AT tishler DOT net>
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
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019