[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: starting X hangs on network timeout (hosts file ignored)



On Tue, Jul 13, 2004 at 01:49:29AM +0100, Steven Satelle wrote:
> On Mon, 12 Jul 2004 17:58:40 +0300, Micha Feigin wrote:
> 
> > 
> > BTW I got the following reply after I tried reporting a bug on netbase
> > on this:
> > 
> > [...] this is how it's supposed to work. host(1) is an
> > interface to the resolver library, which does not use /etc/hosts by design.
> > 
> > The problem is that it seems that a few other things seem to be
> > ignoring the /etc/hosts file also.
> > 
> 
> what package are you getting host from, I dont have it on my system. whats

/usr/bin/host

> in your /etc/resolv.conf, mine has
> search personal.ie
> nameserver 192.168.1.1
> 

domain luna.local
nameserver 192.168.0.1

> I think you should have nameserver 127.0.0.1 in there before any remote
> binds, I dont, but then, I dont have a problem ;-) I think If you have
> 127.0.0.1 in there as the first nameserver it will check the local one
> first (/etc/hosts) 

Doesn't work.

> apart from that what happens if you run startx without gdm running?
> 

Same behavior (I am using wdm and no xdmcp and the no listen on tcp
switch). It seems like /usr/X11R6/bin/X is whats causing the trouble,
running tcpdump when X startx shows the name lookup BTW:

20:25:55.791908 IP litshi.luna.local.32784 > rice.luna.local.domain:  6405+ A? -.luna.local. (30)
20:25:55.792612 IP litshi.luna.local.32785 > rice.luna.local.domain:  7688+ PTR? 1.0.168.192.in-addr.arpa. (42)
20:25:55.793239 IP rice.luna.local.domain > litshi.luna.local.32784:  6405 NXDomain* 0/1/0 (80)
20:25:55.793411 IP litshi.luna.local.32786 > rice.luna.local.domain:  6406+ A? -. (19)
20:25:55.793894 IP rice.luna.local.domain > litshi.luna.local.32785:  7688* 1/1/0 PTR[|domain]
20:25:55.794140 IP litshi.luna.local.32787 > rice.luna.local.domain:  7689+ PTR? 3.0.168.192.in-addr.arpa. (42)
20:25:55.794252 IP rice.luna.local.domain > litshi.luna.local.32786:  6406 NXDomain 0/1/0 (94)
20:25:55.794411 IP litshi.luna.local.32788 > rice.luna.local.domain:  6407+ A? -.luna.local. (30)
20:25:55.795182 IP rice.luna.local.domain > litshi.luna.local.32787:  7689* 1/1/0 PTR[|domain]
20:25:55.795591 IP rice.luna.local.domain > litshi.luna.local.32788:  6407 NXDomain* 0/1/0 (80)
20:25:55.795645 IP litshi.luna.local.32788 > rice.luna.local.domain:  6408+ A? -. (19)
20:25:55.796280 IP rice.luna.local.domain > litshi.luna.local.32788:  6408 NXDomain 0/1/0 (94)
20:25:55.796419 IP litshi.luna.local.32788 > rice.luna.local.domain:  6409+ A? local:root.luna.local. (39)
20:25:55.797114 IP rice.luna.local.domain > litshi.luna.local.32788:  6409 NXDomain* 0/1/0 (89)
20:25:55.797158 IP litshi.luna.local.32788 > rice.luna.local.domain:  6410+ A? local:root. (28)
20:25:55.797800 IP rice.luna.local.domain > litshi.luna.local.32788:  6410 NXDomain 0/1/0 (103)
20:26:00.790557 arp who-has litshi.luna.local tell rice.luna.local
20:26:00.790591 arp reply litshi.luna.local is-at 08:00:46:5b:70:62


> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
>  
>  +++++++++++++++++++++++++++++++++++++++++++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.
> 



Reply to: