delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/13/19:49:35

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 13 May 2003 19:49:18 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Daniel_Casey AT jbhunt DOT com
cc: cygwin AT cygwin DOT com
Subject: RE: nfs server
In-Reply-To: <OF35C692E6.DE94704C-ON86256D25.00792054-86256D25.0079D4A9@jbhunt.com>
Message-ID: <Pine.GSO.4.44.0305131944240.17480-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Tue, 13 May 2003 Daniel_Casey AT jbhunt DOT com wrote:

> Mount shows:
>
> d:\cygwin\bin on /usr/bin type user (binmode)
>
> So this is a "just me" installation, correct?

Yes.  That's not the only mount, though, is it? ;-)

> All three CYGWIN services have the "Path to executable" as d:\cygwin\bin\cygrunsrv.exe.  This is incorrect?

No, this is fine.

> You're saying I need to add something to cygrunsrv.exe so that it will send
> the -F option to nfsd?  Do I add this
> to the CYGWIN portmap service or the CYGWIN nfsd service...or both?
>
> Something like this for the nfsd service:
>
> cygrunsrv -S nfsd -a -F

No.  You'll need to add this when you install the service, i.e., when you
give cygrunsrv the -I option initially.

> And just leave the CYGWIN portmap and mountd services as d:\cygwin\bin\cygrunsrv.exe?
>
> Still don't understand why portmap will start from the Cygwin shell, but
> won't start through Services.

Because the service tries to start /usr/sbin/portmap, and, since it runs
as SYSTEM, it doesn't know where /usr/sbin/ *is* (because there are no
mounts for that user).

Your choices are

1) change your mounts to global mounts, by running something like

   eval "`mount -m | sed -e 's/ -u / -s /g' -e 's/$/;/'`"

or 2) add mounts for the SYSTEM user.

Choice #1 is usually preferable.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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