>>>>>> On Sun, 31 May 1998 10:39:39 +0200, "Igmar Palsenberg"
>>>>>> <[EMAIL PROTECTED]> said:

>>>>> my /etc/HOSTNAME has one line in it, which is:
>>>>> var3.varesearch.com

>>>>> however, when I go into linuxconf, it has my hostname listed as
>>>>> localhost.localdomain.  where does linuxconf read the hostname
>>>>> information from on startup?


>Igmar> It doesn't. The contents of this file are completely
>Igmar> ignored. Set the correct hostname in /etc/sysconfig/network.

>>> um, ooooo-kay.  why?  was this a brain fart or a 'design
>>> decision'??  I must register my complaint with it, it looks like a
>>> complete oversight on the author's part.


>Igmar> The /etc/HOSTNAME file only excist because of compability
>Igmar> issues. Some programs still use it, in stead of the official
>Igmar> system calls.

>cool.  thx for letting me know.  I was never sure about where it was
>used, and where it was not.  What part of the boot up process uses
>/etc/HOSTNAME to set up the hostname?


It doesn't. rc.sysinit takes the hostname out of /etc/sysconfig, and then
set's the hostname.

>However, since it is included in redhat's distribution, why does their
>own configuration tool ignore it?  That seems rather odd to me.

I don't know it. /etc/HOSTNAME seems to be totally unused, except or some
older programs that don't use the appropriate system call.

Second, I'm not one of RedHat's, so I don't know.

>Why does redhat's startup scripts use it to set the hostname, and then
>linuxconf ignores it?

Don't know the either.

If someone for RedHat read's this : Why ???

>  What really strikes me as odd is that redhat's
>own installer pops that info into /etc/HOSTNAME, but does not use the
>/etc/sysconfig/network file, like linuxconf does.

>I am not calling for one over the other, but for consistency in all of
>the tools.

>I can see that it would be wise for linuxconf to read the
>/etc/HOSTNAME file and if it has information in it (it probably came
>from the install), use it, and write it to /etc/sysconfig/network.
>What happens if the two files have different information?

Not much. Maybe some old program that get's confused and refuses to work
(couldn't resolve hostname)

>I think that would be bad, no?  Linuxconf is in the perfect place to see
that
>they are different, and alert the user.


Haven't been using LinuxConf. I even don't know how it looks.... Always do
things manually.

>Are you the author of linuxconf?

No. I'm not. My English isn't that good :)

>  I have one other huge grip, but it
>is totally a design issue, and I think that the author can make a huge
>difference on tty mode with this.

>have fun,
>rob


Igmar


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to