Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Dec 1996 15:14:23 -0800
From:      John Polstra <jdp@polstra.com>
To:        kuku@gilberto.physik.rwth-aachen.de
Cc:        hackers@freebsd.org
Subject:   Re: cvsup can't find host - sometimes
Message-ID:  <199612012314.PAA23749@austin.polstra.com>
In-Reply-To: <199612010946.KAA13506@gilberto.physik.rwth-aachen.de>
References:  <199612010946.KAA13506@gilberto.physik.rwth-aachen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> I'm running cvsup of ports by cron a couple of times daily - on weekends
> moreoften. Some cvsups run fine, but now and then I have one looking
> like that:
> 
> Subject: ports CVSsup on blues Sun Dec  1 09:55:40 MET 1996 finished
> 
> Parsing supfile "/home/kuku/ports-supfile"
> Looking up address of freefall.cdrom.com
> Unknown host "freefall.cdrom.com"
> 
> (this is from a cvsup -L 2 cvsupfile | mail I send to myself when cvsup
> is finished)
> 
> Pinging freefall works fine. I'm just wondering whether this is a
> network problem (load, nameservers unreachable or some such) or
> if it might be a cvsup problem since the lookup is done by the
> program and the name search might be not 'hard enough'.

I wasn't aware of this problem.  CVSup just calls gethostbyname() to do
lookup, so it's no different from other applications in this regard.
But I've seen these kinds of bogus "unknown host" errors on quite a few
applications, even on a 56 K link.  It may be gethostbyname() that's not
trying hard enough.

Anyway, I will try to fix it in CVSup, by making it retry a few times
before giving up.

Thanks for reporting this.
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612012314.PAA23749>