[916] in Moira

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

[Jonathon Weiss: sun4 [7.7T]: moira (server)]

daemon@ATHENA.MIT.EDU (Jonathon Weiss)
Fri Sep 8 20:13:46 1995

From: Jonathon Weiss <jweiss@MIT.EDU>
To: bug-moira@MIT.EDU
Date: Fri, 08 Sep 1995 20:13:34 EDT


Just for the record...

------- Forwarded Message

Received: from SOUTH-STATION-ANNEX.MIT.EDU by e40-po.MIT.EDU (5.61/4.7) id AA00296; Fri, 8 Sep 95 19:24:50 EDT
Received: from THE-OTHER-WOMAN.MIT.EDU by MIT.EDU with SMTP
	id AA10165; Fri, 8 Sep 95 19:24:38 EDT
Received: from jweiss@localhost 
	by the-other-woman.MIT.EDU (8.6.12/4.7.4) 
        id TAA07622; Fri, 8 Sep 1995 19:24:48 -0400
Date: Fri, 8 Sep 1995 19:24:48 -0400
Message-Id: <199509082324.TAA07622@the-other-woman.MIT.EDU>
From: Jonathon Weiss <jweiss@MIT.EDU>
Sender: jweiss@MIT.EDU
To: bugs@MIT.EDU
Cc: jweiss@MIT.EDU
Subject: sun4 [7.7T]: moira (server)


System name:		the-other-woman
Type and version:	SPARC/Classic 7.7T
Display type:		cgthree

What were you trying to do?
	delete all of the cnames for a machine


What went wrong?
	The moira server is not consistant in it's handling of
wildcards.  Specifically if I specify * as the cname in a show cnames
query (and specify a host) it will give me all of the cnames for that
host.  However, if I do the same thing in a delete cnames query it
fails with a no such record error.


What should have happened?
	I would have expected the wildcard to work in both cases


Yo, got any documentation, or other info?
	Yeah, here are the queries I performed:

 1. (show)         Get host alias information.
 2. (add)          Add a new host alias.
 3. (delete)       Delete this alias.
 4. (verbose)      Toggle Verbosity of Delete.
 r. (return)       Return to previous menu.
 t. (toggle)       Toggle logging on and off.
 q. (quit)         Quit.
Command: show * tow       
Get host alias information
Alias Name (Cname): *
Canonical Host Name: tow

Alias: TOW.MIT.EDU                      Canonical Name: THE-OTHER-WOMAN.MIT.EDU

Command: delete * THE-OTHER-WOMAN.MIT.EDU
Delete this alias
Alias Name (Cname): *
Canonical Host Name: THE-OTHER-WOMAN.MIT.EDU
moira: No records in database match query in delete_hostalias
Command: 


and here are teh logs that were generated:

Sep  8 19:17:28 moirad[#4328]: query[2]: "get_hostalias", "*", "THE-OTHER-WOMAN.MIT.EDU"
Sep  8 19:17:49 moirad[#4328]: Query complete.
Sep  8 19:18:24 moirad[#4328]: query[2]: "delete_hostalias", "*", "THE-OTHER-WOMAN.MIT.EDU"
Sep  8 19:18:24 moirad[#4328]: No records in database match query (Query failed)
Sep  8 19:18:24 moirad[#4328]: Query complete.


------- End of Forwarded Message


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