*BSD News Article 57263


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!chi-news.cic.net!newsfeed.internetmci.com!howland.reston.ans.net!blackbush.xlink.net!rz.uni-karlsruhe.de!news.uni-stuttgart.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!zpr.uni-koeln.de!se
From: se@ZPR.Uni-Koeln.DE (Stefan Esser)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Problems running Linux Netscape 2.0b3 binary under FBSD 2.1R
Date: 14 Dec 1995 10:49:42 GMT
Organization: Institute for Mathematics, University of Cologne, Germany
Lines: 40
Sender: se@Sysiphos (Stefan Esser)
Message-ID: <4aovg6$7p3@news.rrz.uni-koeln.de>
References: <4ao7p2$blv@Mars.mcs.com>
NNTP-Posting-Host: sysiphos.mi.uni-koeln.de
Keywords: netscape linux

In article <4ao7p2$blv@Mars.mcs.com>, mikebo@MCS.COM (Michael Borowiec) writes:

} Subject: Problems running Linux Netscape 2.0b3 binary under FBSD 2.1R
} I downloaded the Linux Netscape 2.0b3 package and got the binary to run,
} alright... But I get the following messages during startup, and it can't 
} resolve any hostnames whatever:
} 
} resolv+: "bind" is an invalid keyword
} resolv+: "hosts" is an invalid keyword
} 
} There's nothing wrong with my DNS or resolv.conf setup, as I can ping the
} same hostnames that Netscape can't resolve. Dig works just fine as well...
} Anyone have any ideas as to what might be wrong here?

Yes. There is a /etc/host.conf in both FreeBSD an Linux,
but the contents differs ...


For now just put an

RESOLV_HOST_CONF=/compat/linux/etc/host.conf; export RESOLV_HOST_CONF

in your /etc/profile.


Then create a file "/compat/linux/etc/host.conf" containing
the following single line:

order bind,hosts

make sure that the RESOLV_HOST_CONF environment variable
is set when starting any Linux binary ...


Regards, STefan
-- 
 Stefan Esser, Zentrum fuer Paralleles Rechnen		Tel:	+49 221 4706021
 Universitaet zu Koeln, Weyertal 80, 50931 Koeln	FAX:	+49 221 4705160
 ==============================================================================
 http://www.zpr.uni-koeln.de/~se			  <se@ZPR.Uni-Koeln.DE>