Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <003701c02074$f46a8290$f7c723cb@lifelesswks> From: "Robert Collins" To: , "Chris Abbey" References: <4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20000917003310 DOT 00bdce30 AT pop> Subject: Re: mount points and inetd Date: Sun, 17 Sep 2000 18:00:20 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 X-OriginalArrivalTime: 17 Sep 2000 06:58:55.0642 (UTC) FILETIME=[BED6D7A0:01C02074] Two thoughts: are your mounts system or user mounts? two: inetd may be trying to start before the networking services have started: ie before tcp is available. you may want to try setting inetd's service to be dependent on another networking service - see support.microsoft.com and do a search for a how-to on this. Rob ----- Original Message ----- From: "Chris Abbey" To: Sent: Sunday, September 17, 2000 5:52 PM Subject: mount points and inetd > ok, I read the thread from a week or so ago, but that's not > quite what I'm seeing.... > > I'm working on a clean install here of the latest, dated 7 Sept. > 2000 (cygwin 1.1.4). before this install there has been NO cygnus > product on this machine (NT was recently scratch installed, again) > If I start bash up via the cygwin icon, the mount table looks like > this: > > c:\cygwin\bin /usr/bin user textmode > c:\cygwin\lib /usr/lib user textmode > c:\cygwin / user textmode > d:\ /data user textmode > > At this point everything is good. So now I setup inetd.conf and test > it out, still good, so I install it as a service. At this point I can > restart my machine, login and start bash, see the mount table, start > inetd, still see the mount table, everything is happy. So I set it up > as an autostarted service. Opps, next reboot I see the two copies of > inetd.exe running, but nothing works, so I open a bash shell and > something just seems wrong... check the mount table and it's empty. > > As long as there is a cygwin binary loaded (iow the cygwin1.dll is > pinned in memory) then the mount table is empty (I can add to it, but > it doesn't have the defaults it should have), but once I exit everything > then the next cygwin binary to load (i.e. start a new bash shell) > will cause it to be initialized correctly. > > I don't *think* this is a user id issue, because if I set inetd to > be a manually started service, then put a bat file in my startup folder > which does net start inetd I see the same thing. My current work around > is to use a shell script instead of a bat file as sh.exe seems to properly > initialize the table, then inetd.exe pins it in memory. > > thoughts? > > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com