From owner-freebsd-config Sun Dec 8 16:46:56 2002 Delivered-To: freebsd-config@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96E3737B401 for ; Sun, 8 Dec 2002 16:46:55 -0800 (PST) Received: from shaitan.lightconsulting.com (shaitan.lightconsulting.com [209.81.42.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A8F643EB2 for ; Sun, 8 Dec 2002 16:46:55 -0800 (PST) (envelope-from thalakan@shaitan.lightconsulting.com) Received: from shaitan.lightconsulting.com (localhost [127.0.0.1]) by shaitan.lightconsulting.com (8.12.4/8.12.4) with ESMTP id gB90dZKC009954 for ; Sun, 8 Dec 2002 16:39:35 -0800 (PST) (envelope-from thalakan@shaitan.lightconsulting.com) Received: (from thalakan@localhost) by shaitan.lightconsulting.com (8.12.4/8.12.4/Submit) id gB90dZBQ009953 for freebsd-config@freebsd.org; Sun, 8 Dec 2002 16:39:35 -0800 (PST) Date: Sun, 8 Dec 2002 16:39:35 -0800 From: Jason Spence To: freebsd-config@freebsd.org Subject: Installer can't handle multiple domain names from DHCP Message-ID: <20021208163935.B5123@shaitan.lightconsulting.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD shaitan 4.6-STABLE FreeBSD 4.6-STABLE X-Uptime: 4:25PM up 161 days, 20:42, 3 users, load averages: 4.22, 4.19, 4.14 X-Url: http://lightconsulting.com/~thalakan/ Sender: owner-freebsd-config@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm not on the list, please CC me on any replies. I'm installing FreeBSD 4.7-STABLE on a machine to test my vinum procedures before I write them up. I noticed that the installer seems to have a problem with the domain names my DHCP server is handing out, which are of the form option domain-name "first.domain second.domain"; in dhcpd.conf syntax. The installer hands the text `second.domain"' up to the installer's user interface and that string gets installed in /etc/rc.conf as the hostname, causing the machine to fail to boot. The reason why is the extra double quote is itself quoted by double quotes somewhere on it's trip to rc.conf, resulting in a config line like so in /etc/rc.conf: hostname="second.domain"" That has an odd number of double quotes, so /bin/sh refuses to parse it, causing the system to drop to single-user. -- - Jason Currently at: Home (Fremont, CA) (Cloudy) Hail to the sun god He sure is a fun god Ra! Ra! Ra! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message