From owner-freebsd-questions@FreeBSD.ORG Thu May 17 18:12:31 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7732D16A404 for ; Thu, 17 May 2007 18:12:31 +0000 (UTC) (envelope-from mab2001@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 3375D13C457 for ; Thu, 17 May 2007 18:12:31 +0000 (UTC) (envelope-from mab2001@gmail.com) Received: by an-out-0708.google.com with SMTP id d23so152135and for ; Thu, 17 May 2007 11:12:30 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=oE4DxFhecxzA8mdpoaSESzxA6G8BxMGD9P64vr793YBcVVQVi9vXn5eUb/dLOrQyAOBGqQZbb5qPXGNNhprdxv/hdk8jHZEoq1OuWS1GTVstKjPms9q8oQHNyXQ57wqX3+FZqSHPaEChuauI/bWNMWtky5eNEIipjOlOoKV0cmo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=eyOI/CKJKwQMW1ELw8Zn8GC6RRzx2x3Q/z5PVB3FDy6mSm5wnxZj9sHbaegJRd9iMA1W/vGNw/ZgaB911YxwFLwAJHXHqWYAZJpXAYeolT7vY9r3DAn6kHnVnVHg3QVJT7q9pKcBKnsBNz+h4lEvCl+uDS6+lDrzn7p7LJTgXxs= Received: by 10.100.205.9 with SMTP id c9mr537539ang.1179425550555; Thu, 17 May 2007 11:12:30 -0700 (PDT) Received: by 10.100.112.4 with HTTP; Thu, 17 May 2007 11:12:30 -0700 (PDT) Message-ID: Date: Thu, 17 May 2007 14:12:30 -0400 From: "Mike Barborak" To: "John Nielsen" In-Reply-To: <200705171354.52627.lists@jnielsen.net> MIME-Version: 1.0 References: <200705171354.52627.lists@jnielsen.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: hostname setting in rc.conf ignored? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2007 18:12:31 -0000 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 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 >