case sensitive bb-hosts?
list Galen Johnson
Not sure if this has come up before but I ran into an issue that I would consider a bug...others may not as it's more of an annoyance. After setting up 4.2 and a BBWin machine I kept getting a ghost machine listed under the hobbitd montor. I had entered abc1.fqdn.test.com into the bbhosts file...I got my connection and http info...I checked the hobbitd monitor and saw a "ghost" ABC1...then I changed the entry to abc1...same output...once I changed the entry in bb-hosts to ABC1 (an exact match of the ghost in hobbitd), hobbit displayed the monitors as I would expect it to. The fact that bb-hosts is case sensitive came as a bit of a surprise. I would think you would want to run it through tolower...is there a reason it was set to be case sensitive? I can't think of a good reason for it to do so. =G=
list Henrik Størner
▸
On Mon, Aug 28, 2006 at 11:38:53PM -0400, Galen Johnson wrote:
The fact that bb-hosts is case sensitive came as a bit of a surprise. I
It isn't. I don't know what you did, but hostnames are always matched without caring about upper/lowercase. (Just to be sure, I double-checked this on a 4.2 install using both normal status- and client-messages). Hobbit *does* care about the full hostname, though. It is common for ghosts to appear because the bb-hosts entry uses a hostname with the domain included, and the clients send hostnames with no domain. Regards, Henrik
list Galen Johnson
▸
Henrik Stoerner wrote:
On Mon, Aug 28, 2006 at 11:38:53PM -0400, Galen Johnson wrote:The fact that bb-hosts is case sensitive came as a bit of a surprise. IIt isn't. I don't know what you did, but hostnames are always matched without caring about upper/lowercase. (Just to be sure, I double-checked this on a 4.2 install using both normal status- and client-messages). Hobbit *does* care about the full hostname, though. It is common for ghosts to appear because the bb-hosts entry uses a hostname with the domain included, and the clients send hostnames with no domain. Regards, Henrik
Hmmm....interesting...I installed this on RHEL4 x64 using a package built from the spec file...I figured the lack of domain was what caused this...however, I didn't get all the tests to show (or the ghost to disappear) until I made the case match...unfortunately I don't have another server I can verify with...yet. =G=