delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/12/15:22:29

X-Spam-Check-By: sourceware.org
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: nfs-server-config died (Attn: nfs-server maintainer)
Date: Thu, 12 Jan 2006 15:22:12 -0500
Message-ID: <3D848382FB72E249812901444C6BDB1D03E05193@exchange.timesys.com>
From: "Robb, Sam" <sam DOT robb AT timesys DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k0CKMQqF002185

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019