This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: nfsd and mountd


  Thanks for the testing and the feedback.

  New packages are available at

  - README files now in /usr/doc
  - Added some simple usage notes to README files
  - Added (very) basic "nfs-server-config" script installed in /usr/bin.
  - Quieted verbose debug status messages that were going to event log
    ("patching broken dirent d_ino..." && "patching d_ino...")


  - /etc/exports lines like the following seem to work fine:

      /tmp    (ro,all_squash,anonuid=501,anongid=546)

    ...where UID=501/GID=546 map to the Guest account.

    The default implementation for the server is to map anonymous requests
    to user "nobody".

    Question: would using "Guest" by default make more sense for Cygwin?

  - I've seen some odd permissions behavior on rw exports.  I very much
    recommend keeping mounts ro unless you want to take a look at these
    problems close up :-/


> -----Original Message-----
> From: Robb, Sam 
> Sent: Friday, December 20, 2002 12:27 PM
> To:
> Subject: RE: nfsd and mountd
> > I also tried it, and successfully mounted various exports to 
> > a few *nix boxs on lan.
> > couldnt get in running via inetd but thats probably me, I 
> > will send the errors if you want though.
> Please do.  I tested in standalone mode instead of through
> inetd.
> > Also my event log is filling rapidly with errors
> > such as "Win32 Process Id = 0x724 : Cygwin Process Id = 0x724 
> > : Unable to setgroups: Invalid argument."
> > (also similar ones regarding seteguid and seteuid.)is this 
> expected ?
> Grr.  Forgot about that.  Unfortunately, yes...  you should be able
> to resolve this by matching up users/groups on the two sides of the
> protocol.
> > I ran portmap, then mountd and then nfsd from the command 
> line with no
> > arguments which worked fine. As services you need to add -F 
> > as an argument for portmapper and to rpc.nfsd and rpc.mountd 
> > The commands i ended up using to install were
> >  cygrunsrv.exe -I "sunrpc" -p /usr/sbin/portmap -a -F
> >  cygrunsrv.exe -I "mountd" -p /usr/sbin/rpc.mountd --dep 
> sunrpc -a -F
> > cygrunsrv.exe -I "nfsd" -p /usr/sbin/rpc.nfsd --dep sunrpc -a -F
> > 
> >  It could be an idea to write a script to do this much as 
> > with Corrina's ssh-host-config or serge's init-config.
> I'll add it to the todo list.
> > With that said, thanks very much for your work on this, as 
> > once again cygwin and its developers make my life easier :) 
> Once more, I'll say that Rico Juinio was one who did a lot of
> the initial work.  Give him the credit, and when it breaks,
> you can give me the blame :-)
> -Samrobb

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]