Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Oct 1999 13:07:34 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Wayne M Barnes <wayne@barnes1.wustl.edu>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: passwd hang or DNS 
Message-ID:  <199910052007.NAA00530@dingo.cdrom.com>
In-Reply-To: Your message of "Tue, 05 Oct 1999 14:19:17 CDT." <199910051919.OAA00341@barnes1.wustl.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




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