From owner-freebsd-current@FreeBSD.ORG Mon May 24 04:10:00 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6889F16A4CE for ; Mon, 24 May 2004 04:10:00 -0700 (PDT) Received: from kayjay.xs4all.nl (kayjay.xs4all.nl [80.126.33.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id B414443D48 for ; Mon, 24 May 2004 04:09:59 -0700 (PDT) (envelope-from karelj@kayjay.xs4all.nl) Received: from kayjay.xs4all.nl (localhost.kayjay.xs4all.nl [127.0.0.1]) by kayjay.xs4all.nl (8.12.11/8.12.11) with ESMTP id i4OB9de4069939; Mon, 24 May 2004 13:09:39 +0200 (CEST) (envelope-from karelj@kayjay.xs4all.nl) Received: (from karelj@localhost) by kayjay.xs4all.nl (8.12.11/8.12.11/Submit) id i4OB9cqh069938; Mon, 24 May 2004 13:09:38 +0200 (CEST) (envelope-from karelj) Date: Mon, 24 May 2004 13:09:38 +0200 From: "Karel J. Bosschaart" To: Doug White Message-ID: <20040524110938.GA69786@kayjay.xs4all.nl> References: <20040522111520.GA63653@kayjay.xs4all.nl> <20040522092453.1d180c46@localhost> <20040522180522.GA64710@kayjay.xs4all.nl> <20040522153821.H3299@carver.gumbysoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040522153821.H3299@carver.gumbysoft.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-current@freebsd.org cc: Robin Schoonover Subject: Re: resolver problem with Opera X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2004 11:10:00 -0000 On Sat, May 22, 2004 at 03:38:53PM -0700, Doug White wrote: > On Sat, 22 May 2004, Karel J. Bosschaart wrote: > > > The strange thing is that the same Opera version on -stable *does* > > check the /etc/hosts first. If I remove /etc/resolv.conf on the -current > > machine Opera checks /etc/hosts and resolves the name correctly but > > that's obviously not a good solution. > > > > What do /etc/nsswitch.conf and /etc/host.conf look like on the affected > system? > They are not present. Adding host.conf solved the problem! Although I found a reference to nsswitch.conf in the Opera binary, it seems to be ignored: I do have an nsswitch.conf now, generated at boot time from host.conf, but removing the host.conf makes Opera behave the old way. Out of curiosity I looked up /etc/host.conf in the CVS repository and noticed that this file is removed on -current, which is the reason I didn't have it (a boot message is warning now that it is no longer used). Anyway, Opera works now the way I want it. Thanks a lot! Karel.