X-Spam-Check-By: sourceware.org content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" 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" To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit 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/