[1951] in Moira

home help back first fref pref prev next nref lref last post

Re: stella bug with renaming hosts

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Thu Apr 25 14:22:36 2002

Message-Id: <200204251822.OAA04576@brad-majors.mit.edu>
To: Chris Griffith <cg@MIT.EDU>
cc: bug-moira@MIT.EDU
In-Reply-To: Your message of "Thu, 25 Apr 2002 14:16:06 EDT."
             <a05111702b8edf6549270@[192.168.0.4]> 
Date: Thu, 25 Apr 2002 14:22:34 -0400
From: Garry Zacheiss <zacheiss@MIT.EDU>

>> 3)  Then, rename the host with the same name as the alias
>>       athena% stella 18.90.1.47 -rename "EWALL.MIT.EDU"

	 Your shell is eating the quotes here, and the client is
canonicalizing the hostname from DNS, so what you really end up running
there is

stella 18.90.1.47 -rename DESCOM.MIT.EDU

which the server likes just fine, and there's no error to report; if you
run:

stella 18.90.1.47 -rename \"EWALL.MIT.EDU\"

properly escaping the quotes, it should work.

Garry


home help back first fref pref prev next nref lref last post