https://bugzilla.novell.com/show_bug.cgi?id=432560
User leo@nwfactory.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=432560#c4
--- Comment #4 from Leo Eraly 2008-10-06 07:28:45 MDT ---
And the YCP code that is responsible for proposing the hostname is this
/**
* Propose the hostname
* See also DNS::Read
* @return true if something was proposed
*/
define boolean ProposeHostname () {
if (DNS::proposal_valid)
{
// the standalone hostname dialog did the job already
return false;
}
y2milestone ("hostname from install.inf");
if (! DNS::ReadHostDomain (InstallInf["hostname"]:"",
InstallInf["domain"]:""))
{
y2milestone ("hostname from dns");
/* try to get hostname from the network */
string hnent = Detection::ResolveIP(ipaddr);
//last resort - generate random hostname (#165269)
if (hnent == "")
{
y2milestone("random hostname");
srandom ();
DNS::ReadHostDomain("linux-" + String::Random(4), "site");
}
else
{
list hnsplit = Hostname::SplitFQ(hnent);
DNS::ReadHostDomain (hnsplit[0]:"", hnsplit[1]:"");
}
}
return true;
}
in /usr/share/YaST2/modules/Lan.ycp
So it seems to be unable to use the name from install.inf which is probably
using the wrong data (see previous comment).
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.