From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-115647-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1P61Yu-0003Ab-2y
	for garchives@archives.gentoo.org; Wed, 13 Oct 2010 13:40:09 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 14F8CE031D;
	Wed, 13 Oct 2010 13:38:57 +0000 (UTC)
Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id DA57CE094F
	for <gentoo-user@lists.gentoo.org>; Wed, 13 Oct 2010 13:38:56 +0000 (UTC)
Received: by gyg8 with SMTP id 8so2783465gyg.40
        for <gentoo-user@lists.gentoo.org>; Wed, 13 Oct 2010 06:38:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:received:in-reply-to
         :references:date:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        bh=vZrr25G/8GqevnD6lLGVrVLsfk6hQ0USieW2lhAZnq0=;
        b=xhgGahSZaedRHkm9zvgyRBg7tGQEjQBCdqNDg6/pHaEkQOt1eRpDZw5qAGkOjLjSGZ
         kIE803fdEb7NOOPoElznEEinjmj/p8ZZMJ09crMk7I1S4jCcavP6adHqRmt0GGRtFmku
         BtSVgUcFZ8ZCtocUgychAD5UwGKV6UoDeAKUM=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        b=hwsZVeK/D0pPXke1TsKrv4wfchsqX0sOAUkiaTUiY+iodxswFs7xnJepRTbSerJ2PD
         8FLbdjhTxUusDXPoqu6TAZ3He5LX2OdS0kG/argmUq7HK2RXfIc4oVjP7Q4eTRRUbJo3
         Qaew/4kSyg5LcGrweFEb7dd8tO4/szmy5Vdgc=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.90.66.7 with SMTP id o7mr4459963aga.159.1286977136470; Wed, 13
 Oct 2010 06:38:56 -0700 (PDT)
Received: by 10.90.106.3 with HTTP; Wed, 13 Oct 2010 06:38:56 -0700 (PDT)
In-Reply-To: <i92mge$6us$1@dough.gmane.org>
References: <AANLkTimX3aBuUeZJxOb_+Tcwj-wajOe2wtC6Jsj07nL0@mail.gmail.com>
	<i92mge$6us$1@dough.gmane.org>
Date: Wed, 13 Oct 2010 22:38:56 +0900
Message-ID: <AANLkTikXST0EiHD0NbHU6HSqAXFUeYKBVc9LLjWhs4U3@mail.gmail.com>
Subject: Re: [gentoo-user] Re: Slow Login, Sudo, etc.
From: daid kahl <daidxor@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 2b552d21-ce58-411c-b177-b45b7bc7a35e
X-Archives-Hash: 6e61d51602634218ff9c9487faeaa531

> On 10/11/2010 11:38 PM, daid kahl wrote:
>
>> However, I noticed that logins, su, and sudo are all responding
>> slowly. =A0This was all fixed and fine once I updated my configuration
>> files, but this week it's acting up again. =A0Before it was just su and
>> sudo that I noticed as slow (authentication takes around 20 seconds).
>> But now even logins are delayed (xdm or command line).

On 13 October 2010 07:12, walt <w41ter@gmail.com> wrote:
>
> Whenever I see something that eventually works, but only after a long
> delay, I think of DNS problems.
>
> Who might be doing a nonsensical DNS lookup, I have no idea. =A0But you
> might consider running a packet sniffer (wireshark, etc) while logging
> in or doing an su. =A0Are you running your own local name server?

Very very intersting!!

The main correlation I've seen so far is with dhcpcd.  Sometimes at my
work I get a 192. IP (which doesn't work), and other times I get a
133. IP (which is correct).  In fact, sometimes dhcp is giving me an
IP address and resolv.conf related to a university I was visiting like
a month ago.

In other words, I know I have some networking problems, but I was
reluctant to imagine it was at all related to this login problem, even
though I had some basic empirical data on it.

Anyway, it happened again tonight, and it was resolved after I did
some of the same emerges as before, but I think that might be just
chance.

I look into the DNS stuff.  Thanks for the sanity check!

~daid

PS: Sorry for the initial top posting on myself...