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 From owner-freebsd-config Sun Dec 8 19:58:40 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 A23B437B401 for ; Sun, 8 Dec 2002 19:58:39 -0800 (PST) Received: from sibptus.tomsk.ru (sibptus.tomsk.ru [213.59.238.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3332243E4A for ; Sun, 8 Dec 2002 19:58:38 -0800 (PST) (envelope-from sudakov@sibptus.tomsk.ru) Received: (from sudakov@localhost) by sibptus.tomsk.ru (8.11.6/8.11.3) id gB93sXn13887; Mon, 9 Dec 2002 09:54:33 +0600 (OMST) (envelope-from sudakov) Date: Mon, 9 Dec 2002 09:54:33 +0600 From: Victor Sudakov To: Jason Spence Cc: freebsd-config@FreeBSD.ORG Subject: Re: Installer can't handle multiple domain names from DHCP Message-ID: <20021209095433.A13768@sibptus.tomsk.ru> References: <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 In-Reply-To: <20021208163935.B5123@shaitan.lightconsulting.com>; from jspence@lightconsulting.com on Sun, Dec 08, 2002 at 04:39:35PM -0800 Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://vas.tomsk.ru/vas.asc 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 Jason Spence wrote: > I'm not on the list, please CC me on any replies. So you want to benefit from the list without contributing to it? > > 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"; Are you sure that multiple domain names are permitted here? RFC2132 does not seem to allow that. Neither does "man dhcp-options" > > 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. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message From owner-freebsd-config Mon Dec 9 10:29:35 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 1968A37B401 for ; Mon, 9 Dec 2002 10:29:34 -0800 (PST) Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39A4343ED8 for ; Mon, 9 Dec 2002 10:29:33 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 810 invoked from network); 9 Dec 2002 18:29:38 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 9 Dec 2002 18:29:38 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id gB9ITVuH059915; Mon, 9 Dec 2002 13:29:31 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20021209095433.A13768@sibptus.tomsk.ru> Date: Mon, 09 Dec 2002 13:29:33 -0500 (EST) From: John Baldwin To: Victor Sudakov Subject: Re: Installer can't handle multiple domain names from DHCP Cc: freebsd-config@FreeBSD.ORG, Jason Spence 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 On 09-Dec-2002 Victor Sudakov wrote: > Jason Spence wrote: >> I'm not on the list, please CC me on any replies. > > So you want to benefit from the list without contributing to it? > >> >> 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"; > > Are you sure that multiple domain names are permitted here? > RFC2132 does not seem to allow that. > Neither does "man dhcp-options" I use it all the time to setup the search field of my /etc/resolv.conf. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message From owner-freebsd-config Mon Dec 9 12:23:14 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 07B1437B401; Mon, 9 Dec 2002 12:23:13 -0800 (PST) Received: from shaitan.lightconsulting.com (shaitan.lightconsulting.com [209.81.42.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF25F43EBE; Mon, 9 Dec 2002 12:23:11 -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 gB9KFlKC089086; Mon, 9 Dec 2002 12:15:47 -0800 (PST) (envelope-from thalakan@shaitan.lightconsulting.com) Received: (from thalakan@localhost) by shaitan.lightconsulting.com (8.12.4/8.12.4/Submit) id gB9KFkX3089036; Mon, 9 Dec 2002 12:15:46 -0800 (PST) Date: Mon, 9 Dec 2002 12:15:46 -0800 From: Jason Spence To: John Baldwin Cc: Victor Sudakov , freebsd-config@FreeBSD.org, Jason Spence Subject: Re: Installer can't handle multiple domain names from DHCP Message-ID: <20021209121546.B80059@shaitan.lightconsulting.com> References: <20021209095433.A13768@sibptus.tomsk.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.org on Mon, Dec 09, 2002 at 01:29:33PM -0500 X-Operating-System: FreeBSD shaitan 4.6-STABLE FreeBSD 4.6-STABLE X-Uptime: 11:47AM up 162 days, 16:04, 3 users, load averages: 4.26, 4.18, 4.11 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 On Mon, Dec 09, 2002 at 01:29:33PM -0500, John Baldwin wrote: > > Are you sure that multiple domain names are permitted here? > > RFC2132 does not seem to allow that. > > Neither does "man dhcp-options" > > I use it all the time to setup the search field of my /etc/resolv.conf. It turns out that Apple and Microsoft defined RFC #3397 very recently, which provides the necessary functionality. I've always thought that concatenating the domains together with spaces was a bit of a hack, given that none of the docs officially sanctioned the practice. Not sure about ISC's plans to support it. -- - Jason Currently at: Home (Fremont, CA) (Showers) "I don't know anything about music. In my line you don't have to." -- Elvis Presley To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message