Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2007 15:23:25 -0400
From:      "Mike Barborak" <>
To:        "Mark Tinguely" <>
Subject:   Re: hostname setting in rc.conf ignored?
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Thanks for the suggestions.

That's right, I'm not using DHCP.

I searched through /etc and /usr/local/etc for calls to hostname and for the
string and all I found was a call to the command "hostname"
in /etc/ and my setting of the hostname variable in /etc/rc.conf.
After perusing /etc, apparently is called by /etc/rc after
sourcing rc.conf and this is how the hostname in /etc/rc.conf becomes the
hostname of the machine. So that appears to be fine.

Perhaps another tack, what is the last script executed during boot up? If I
add a line like "/bin/hostname" to /etc/rc.local should
this force the hostname change?


On 5/17/07, Mark Tinguely <> wrote:
> I understand DHCP setting the hostname, which you are not using.
> I understand DNS or /etc/hosts reporting the old name on the network,
> but it should not effect hostname.
> I would look for the old name:
>         # grep -r /etc
> --Mark Tinguely

Want to link to this message? Use this URL: <>