This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: nfs-server-config died (Attn: nfs-server maintainer)
- From: "Robb, Sam" <sam dot robb at timesys dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 12 Jan 2006 15:22:12 -0500
- Subject: 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/