This is the mail archive of the cygwin 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: nfs-server-config died (Attn: nfs-server maintainer)


> On Thu, 12 Jan 2006, Hiroki Sakagami wrote:
> 
> > When I executed /usr/bin/nfs-server-config, it died around line 223
> > due to the assignment to readonly variable $UID.  Is this a known
> > issue?
> >
> > The version of the package is nfs-server-2.3-3.
> 
> This probably has to do with the switch of /bin/sh from ash 
> to bash.  UID
> is a reserved variable in bash, but not in ash.  The variable 
> needs to be
> renamed.  Sam?

You learn something new every day.  Thanks for explaining this,
Igor :-)

Actually, the variable can be eliminated - it was left over from
a previous version of the script, and isn't actually referenced.

For now, you should be able to comment out (or delete) the line
that makes the assignment to the UID variable.  I'll see about
getting a new version of nfs-server out with this fix later today.

-Samrobb

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


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