Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: David  Mosberger <davidm@AZStarNet.COM>
Subject: Re: strace's on Install Buggy
Date: Thu, 17 Oct 1996 12:09:24 -0700 (MST)	[thread overview]
Message-ID: <199610171909.MAA21622@web.azstarnet.com> (raw)

Looking at your strace output, here is what I'm guessing is going on:

	- the route command attempts to translate the gateways IP address
	  into an IP address (it doesn't know a priori if it's a hostname
	  or an IP address, so it attempts to interpret it as a hostname
	  and if that fails, it attempts to interpret it as a IP address)

	- there is no /etc/nsswitch.conf, so glibc uses the default settings;
	  if memory serves, it uses "hosts: dns" by default (meaning it will
	  try DNS and DNS only; it won't even look at /etc/hosts)

If this guess is right, the problem should go away if you have an
/etc/nsswitch.conf that contains the line "hosts: files" line (instead
of the more usual "hosts: files dns").  This should make sure that route
doesn't attempt to talk DNS.  Have you tried this?

	--david

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

             reply	other threads:[~1996-10-17 19:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-17 19:09 David Mosberger [this message]
1996-10-17 22:05 ` strace's on Install Buggy Marc Singer
     [not found] <9610181226.AA07788@scooter>
1996-10-18 18:00 ` Marc Singer
     [not found] <Pine.LNX.3.93.961017202458.11374B-100000@redhat.com>
1996-10-18  6:10 ` Marc Singer
     [not found] <Pine.LNX.3.93.961017184807.1042C-100000@redhat.com>
1996-10-18  0:22 ` Marc Singer
1996-10-18  0:25   ` Erik Troan
  -- strict thread matches above, loose matches on Subject: below --
1996-10-17 22:38 David Mosberger
1996-10-17 22:48 ` Erik Troan
1996-10-18 12:26 ` Jim Nance
     [not found] <Pine.LNX.3.93.961017105710.24212J-100000@redhat.com>
1996-10-17 18:47 ` Marc Singer
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox