delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/23/04:32:35

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Reply-To: <msabin AT interx DOT com>
From: "Miles Sabin" <msabin AT interx DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: cygrunsrv: possible solution to a common problem -- suggested patch
Date: Tue, 23 Oct 2001 08:05:52 +0100
Message-ID: <000001c15b91$27d7bc80$a3eab8c3@milessabin.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <028801c15b5a$88ee2fe0$0200a8c0@lifelesswks>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700

Robert Collins wrote,
> I hate to be a wet blanket, but this isn't the correct solution.
>
> Well, actually it is, just the wrong service is being depended on.
>
> Why not LanManWorkstation? It's the MS network client. Cygwin 
> doesn't depend on that, and some folk (I'm one) do not run it. In 
> fact, folk on Novell networks that have performance tuned their NT 
> workstations && use NAL for management are also unlikely to run it..
>
> I suggest depending on the TCPIP service instead.

Except that depending only on the tcpip service doesn't work for me
whereas depending on lanmanworkstation (or both lanmanworkstation and
tcpip) does.

My guess is that where lanmanworkstation service _is_ being run 
there's some extra initialization which has to be completed in 
addition to the startup of the tcpip service before sockets can be 
bound.

FWIW, the Apache doc I linked to earlier,

  http://httpd.apache.org/docs/win_service.html

mentions both, and also the afd service, but doesn't go into any 
explantion of how you'd choose which ones to depend on.

Here's some MS services for comparison,

  NFS service (from MS Services for Unix 2.0) depends on tcpip and
  lanmanworkstation.

  Simple TCP/IP service depends on afd.

And here's the results I get from various dependency combinations,

  afd                         rinetd startup fails
  tcpip                                "
  afd+tcpip                            "
  lanmanworkstation           rinetd startup succeeds
  lanmanworkstation+tcpip              "

Can anyone shed any more light on this?

Cheers,


Miles


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