delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/12/17:02:15

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: Fri, 12 Mar 2004 17:01:52 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Smith, Gene" <gene DOT smith AT siemens DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: nfs-server re-exporting mapped network drives
In-Reply-To: <40522EE5.4060307@siemens.com>
Message-ID: <Pine.GSO.4.56.0403121653160.18922@slinky.cs.nyu.edu>
References: <NUTMEGm1XoUCo3yGsws00000128 AT NUTMEG DOT CAM DOT ARTIMI DOT COM> <4052204F DOT 7070103 AT siemens DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0403121606250 DOT 18922 AT slinky DOT cs DOT nyu DOT edu> <40522EE5 DOT 4060307 AT siemens DOT com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Fri, 12 Mar 2004, Smith, Gene wrote:

> Igor Pechtchanski wrote:
> >> Event Type:     Error
> >> Event Source:   nfsd
> >> Event Category: None
> >> Event ID:       0
> >> Date:           3/12/2004
> >> Time:           2:07:26 PM
> >> User:           SEA\SMITED
> >> Computer:       04J005
> >> Description:
> >> The description for Event ID ( 0 ) in Source ( nfsd ) cannot be found.
> >> The local computer may not have the necessary registry information or
> >> message DLL files to display messages from a remote computer. The
> >> following information is part of the event: nfsd : PID 2320 : starting
> >> service `m' failed: redirect_fd: open (1, /var/log/nfsd.log): 13,
> >> Permission denied.
> >
> >
> > Hmm, this one should be pretty obvious -- a "chmod a+w /var/log/nfsd.log"
> > should fix this right up.
> >     Igor
>
> You are right! That fixed it. There was already a "w" for the user
> "SYSTEM" but not on group and other. Guess that's what it needs. This
> fact should definitely be added to the readme or changed in the default
> install. I changed it on all three nfs related log files for good measure.

The log files are created by cygrunsrv when the service is first started.
If cygrunsrv ran as LocalSystem, the logs will be owned by LocalSystem.
The default umask (set in /etc/profile) is 022, which means "turn off
group and world write permissions".  I doubt there's anything the nfs
server itself can do about this.  You might try changing the umask in
/etc/profile, removing the log, and starting over...  If this works, then
it definitely should be in the README.

> I also noticed that nfs-server-config script did not work quite right
> the second time you ran it. It would not reload the daemons but complain
> they were already installed. I fixed that my rearranging the order of
> things. Also, it always complained that your mounts were not global even
> when they are. I also fixed that. Should I send a patch to someone or
> just send my fixed file to this list?
>
> Thanks for the help.
> -gene

The nfs-server announcement
(<http://cygwin.com/ml/cygwin/2003-11/msg00267.html>) says to send
comments and questions to the cygwin list (i.e., here).  To help the
maintainer filter out the relevant messages, you might put something like
"[PATCH] nfs-server: ..." as the subject.

Hope this helps,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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