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

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
Message-ID: <3E5A8939.CE055B7F@ieee.org>
Date: Mon, 24 Feb 2003 16:06:01 -0500
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: exim 4.12-3 winsock problem (was Re: 1.3.21)
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>

Jason Tishler wrote:
> 
> Pierre,
> 
> > On Fri, Feb 21, 2003 at 01:22:01PM -0500, Pierre A. Humblet wrote:
> > > This reminds me of something similar, possibly last month.  Look for
> > > "exim", "services", "gerritt" In the end it was because exim was
> > > running as a special user who didn't have permission on the whole
> > > tree under c:\winnt.  First make sure Everybody has rx access to it.
> 
> You may be onto something, see below...

Jason,

This is from the exim 4.12 announcement:
**************************

There are also five Cygwin specific changes
 1) Use setgroups (requires Cygwin 1.3.13 or more recent).
*******************************

If you run with -d you will see that exim sheds all supplementary
groups. 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. 

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


>     $ 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?

Pierre

--
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