delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/24/16:46:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 24 Feb 2003 16:52:44 -0500
From: Jason Tishler <jason AT tishler DOT net>
Subject: Re: exim 4.12-3 winsock problem (was Re: 1.3.21)
In-reply-to: <3E5A8939.CE055B7F@ieee.org>
To: cygwin AT cygwin DOT com
Mail-followup-to: cygwin AT cygwin DOT com
Message-id: <20030224215244.GA2612@tishler.net>
MIME-version: 1.0
User-Agent: Mutt/1.4i
References: <20030221153741 DOT GA26756 AT redhat DOT com>
<20030221180822 DOT GB1408 AT tishler DOT net> <3E566E49 DOT 53BE7CBE AT ieee DOT org>
<20030221191209 DOT GE1408 AT tishler DOT net> <20030224200201 DOT GA2348 AT tishler DOT net>
<3E5A8939 DOT CE055B7F AT ieee DOT org>

Pierre,

On Mon, Feb 24, 2003 at 04:06:01PM -0500, Pierre A. Humblet wrote:
> If you run with -d you will see that exim sheds all supplementary
> groups.

I was just following the README:

       cygrunsrv -I exim -p /usr/bin/exim -e CYGWIN=ntsec \
         -a "-bdf -q15m" -d "Exim Mail Transfer Agent" \
         -1 /var/log/exim/cygrunsrv_out.log -2 /var/log/exim/cygrunsrv_err.log

Should I no longer use the "-d" option?

> As a first step you should make sure that the primary group of SYSTEM
> is 544 on your system and not 18 (as it used to be 6 months back).
> That's needed to setuid, but I am not exactly sure how it relates to
> wsock. 

I tried the above is still no luck:

    $ id
    uid=18(SYSTEM) gid=544(Administrators) groups=544(Administrators)
    $ ~jt/src/exim-4.12-3/build-CYGWIN-i386/exim -bdf -q15m
    2003-02-24 16:35:38 cannot find smtp/tcp service when starting daemon

> Can you better explain your setup, i.e. what user are you running exim
> under normally, when you debug, when you strace, etc....

I run all of the above under the LocalSystem account.

> >     $ exim -bdf -q15m
> >     wsock_init(): wsock_started = 0
> >     wsock_init():  wsastartup = 0x7503d2c3
> >     wsock_init(): wsastartup() returned 10107
> >     getservbyname() failed with last error = 10093
> 
> Don't you think that failing to start wsock deserves a system_printf?

Are you asking me specifically?  Or, is this a rhetorical question for
other Cygwin developers too?  Given my experience trying to debug this
problem, I guess that I would vote "yes".

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

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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