Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2007 14:12:30 -0400
From:      "Mike Barborak" <mab2001@gmail.com>
To:        "John Nielsen" <lists@jnielsen.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: hostname setting in rc.conf ignored?
Message-ID:  <b6c5c4be0705171112y207ffee1v5d247ab011e1c238@mail.gmail.com>
In-Reply-To: <200705171354.52627.lists@jnielsen.net>
References:  <b6c5c4be0705171027i68e078b7q165b60adb89e7af8@mail.gmail.com> <200705171354.52627.lists@jnielsen.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
No, there's not. This is the entire rc.conf file:

hostname="www.mydomain.com"
sshd_enable="NO"
vsapd_enable="YES"
enable_quotas="YES"
clamav_clamd_enable="YES"
spamd_enable="YES"
spamd_pidfile="/var/run/spamd.pid"
spamd_flags="-c -d -r ${spamd_pidfile} --socketpath=/var/run/spamd.sock"
mysql_enable="YES"
mysql_args="--old-passwords --skip-character-set-client-handshake"

Anything else I might check?

Thanks,
Mike


On 5/17/07, John Nielsen <lists@jnielsen.net> wrote:
>
> On Thursday 17 May 2007 01:27:52 pm Mike Barborak wrote:
> > Hello,
> >
> > I have a FreeBSD 4.7-RELEASE-p28 server that was initially configured
> with
> > the hostname mydomain.com. I am trying to permanently change that to be
> > www.mydomain.com. I have added this line to my /etc/rc.conf file:
> >
> > hostname="www.mydomain.com"
> >
> > but after restarting the server it continues to return mydomain.com when
> i
> > run the command hostname. Can anyone tell me what I am doing wrong?
>
> Is there a second hostname entry further down in rc.conf with the original
> value?
>
> JN
>



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?b6c5c4be0705171112y207ffee1v5d247ab011e1c238>