hostname setting in rc.conf ignored?

2007-05-17 Thread Mike Barborak
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

Re: hostname setting in rc.conf ignored?

2007-05-17 Thread Mike Barborak
ot; 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 <[EMAIL PROTECTED]> wrote: On Thur

Re: hostname setting in rc.conf ignored?

2007-05-17 Thread Mike Barborak
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 www.mydomain.com and all I found was a call to the command "hostname" in /etc/rc.network and my setting of the hostname variable in /etc/rc.conf. Afte

Re: hostname setting in rc.conf ignored?

2007-05-17 Thread Mike Barborak
/local/etc/rc.after_everything.d (same permissions as /usr/local/etc/rc.d) and put a file named hostname.sh in that directory with this content: #!/bin/sh /bin/hostname your_hostname_here Make the file executable. -Mike On 5/17/07, Robert Huff <[EMAIL PROTECTED]> wrote: Mike Barborak writes: > P