Date: Sun, 28 Jan 1996 15:00:05 +1030 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: d_burr@ix.netcom.com (Donald Burr) Cc: freebsd-questions@freebsd.org Subject: Re: Linux-emu, Netscape, and DNS: how to get them to cooperate? Message-ID: <199601280430.PAA06645@genesis.atrad.adelaide.edu.au> In-Reply-To: <Pine.BSF.3.91.960127020159.20710A-100000@ncc-1701-d.starfleet.gov> from "Donald Burr" at Jan 27, 96 02:06:05 am
next in thread | previous in thread | raw e-mail | index | archive | help
Donald Burr stands accused of saying: > I have a proper host.conf and resolv.conf file in /compat/linux/etc. I > EVEN HAVE TRIED MOVING THESE INTO /etc. But no success. > > What's going wrong here? can someone help me out with getting this > running? I'm losing my mind!!! You need a resolv+ host.conf in /compat/linux/etc, and you need to set the environment variable RESOLV_HOST_CONF to point to it. Put a single line in it that says "order bind,hosts" > On a side note, according to the available doc's on the Linux-emu, > whenever a Linux [program or library tries to access a file, the > Linux-emu is supposed to add "/compat/linux" to it, i.e. if the program > asks for "/etc/hosts", the it actually accesses > "/compat/linux/etc/hosts". This DOES NOT seem to be the case, though, > because even though I put a Linux-style host.conf in > /compat/linux/etc/host.conf, the Linux resolv+ library always says > "invalid keyword hosts" (meaning it's referring to the FreeBSD > /etc/host.conf file!). What gives here? The emulator prepends "/compat/linux" when searching for executables and shared libraries. It wouldn't make any sense to do this for normal files; stop and _think_ about it for a second. > Donald Burr [d_burr@ix.netcom.com], PO Box 91212, Santa Barbara CA 93190-1212 -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] "Who does BSD?" "We do Chucky, we do." [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601280430.PAA06645>