[1950] in Moira

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

stella bug with renaming hosts

daemon@ATHENA.MIT.EDU (Chris Griffith)
Thu Apr 25 14:16:09 2002

Mime-Version: 1.0
Message-Id: <a05111702b8edf6549270@[192.168.0.4]>
Date: Thu, 25 Apr 2002 14:16:06 -0400
To: bug-moira@mit.edu
From: Chris Griffith <cg@MIT.EDU>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

Hi,

I think I might have found a bug in stella.  In a certain odd 
situation, stella fails to change a hostname but doesn't bring up an 
error message to report that failure.

Here's how to reproduce it.

1)  Begin with a host that has an alias name:

     Machine:  DESCOM.MIT.EDU
     Aliases:  EWALL.MIT.EDU
     Address:  18.90.1.47

2)  Next, remove the alias.
     athena% stella 18.90.1.47 -d EWALL.MIT.EDU

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

After this last command, stella exits without feedback, implying a 
successful completion.  However if you run "stella 18.90.1.47", you 
get:

     Machine:  DESCOM.MIT.EDU
     Address:  18.90.1.47

It would be nice if stella reported an error message in this situation.

Thanks,
-Chris

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