From owner-freebsd-emulation Tue Nov 27 21:21:14 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from one.exobit.org (one.exobit.org [206.201.210.12]) by hub.freebsd.org (Postfix) with ESMTP id 9E5A437B405 for ; Tue, 27 Nov 2001 21:21:11 -0800 (PST) Received: by one (Postfix, from userid 100) id 55ABD897AB; Tue, 27 Nov 2001 12:34:57 -0500 (EST) Date: Tue, 27 Nov 2001 12:34:57 -0500 From: Jeffrey Meltzer To: freebsd-emulation@freebsd.org Subject: linux emulation dns problem Message-ID: <20011127123457.A15334@one.exobit.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.22i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've installed the linux emulation (linux_base-7) on one of my 4.4-STABLE machines. Linux programs startup ok, but if they need to resolve a hostname, it fails. If I add a host to /etc/hosts, it works fine. I checked /compat/linux/etc/host.conf and /compat/linux/etc/nsswitch.conf, and both look fine. Resolution works perfectly with everything on FreeBSD. I downloaded the bind-utils rpm from redhat so i could have nslookup, and this has a problem. I've no idea if it's related to the general resolution problems or not. root@saturn [linux]# /compat/linux/usr/bin/nslookup www.google.com Note: nslookup is deprecated and may be removed from future releases. Consider using the `dig' or `host' programs instead. Run nslookup with the `-sil[ent]' option to prevent this message from appearing. socket.c:1291: setsockopt(7, SO_BSDCOMPAT) failed: Invalid argument socket.c:1308: setsockopt(7, SO_TIMESTAMP) failed: Invalid argument netaddr.c:231: INSIST(0) failed. Abort Has anyone seen this, or have a clue to what I may have missed? Thanks! Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message