From owner-freebsd-stable Tue Oct 5 13:16:16 1999 Delivered-To: freebsd-stable@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id 58B9C1505F for ; Tue, 5 Oct 1999 13:16:14 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id NAA00530; Tue, 5 Oct 1999 13:07:34 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199910052007.NAA00530@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Wayne M Barnes Cc: freebsd-stable@freebsd.org Subject: Re: passwd hang or DNS In-reply-to: Your message of "Tue, 05 Oct 1999 14:19:17 CDT." <199910051919.OAA00341@barnes1.wustl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 05 Oct 1999 13:07:34 -0700 From: Mike Smith Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Dear Mike, > > Why would passwd care about the DNS setup? Because you may have configured Kerberos or NIS, both of which need to perform hostname resolution. > I tried your suggestion to 'stty status ^T' > Here is the output from a few ^T: > > wayne@klentaq:/home/wayne>passwd > load: 1.00 cmd: passwd 41655 [nanslp] 0.00u 0.00s 0% 644k This is another possible candidate, actually. You can try 'passwd -l' to see if this is what's happening. > Here we go for the hanging 'send-pr': > wayne@klentaq:/home/wayne>send-pr > load: 1.01 cmd: sed 41816 [piperd] 0.00u 0.00s 0% 492k > load: 1.01 cmd: sed 41816 [piperd] 0.00u 0.00s 0% 492k This is waiting for a coprocess at the other end of the pipe. The coprocess is the one that's probably asleep. > I don't see the [select] that you predicted. Also, I can do most > any network function from my system one, so I think its DNS is okay. That's not a valid assumption, since the above two cases are "network functions" that don't appear to be working. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message