[Pkg-ltsp-devel] Bug#483760: ltsp-client: Generate unique hostname when reverse DNS lookup fail

Petter Reinholdtsen pere at hungry.com
Fri May 30 21:41:11 UTC 2008


Package: ltsp-client
Version: 5.1.5-1
Severity: wishlist

At the moment in Etch, all the LTSP clients will have the same
hostname 'ltsp'.  This make reports generated by sitesummary almost
useless for LTSP clients.  In Lenny, I was told by Vagrant it would
look up the name in DNS, and use the reverse DNS lookup to set a
hostname.  I do the same in Etch using a script included in
debian-edu-config.  But, on a fairly large site the reverse DNS
entries are missing, and thus a lot of clients end up with the common
and useless 'ltsp' hostname.

I propose to generate a unique hostname for these hosts based on their
network MAC address of the client, like "ltsp-00:00:00:00:00:00".  It
would make it fairly easy to recognize which client was running at a
given moment in time when no reverse DNS lookup is available.

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-ltsp-devel mailing list