From owner-freebsd-current@FreeBSD.ORG Fri Jul 15 19:14:02 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C084116A41C for ; Fri, 15 Jul 2005 19:14:02 +0000 (GMT) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3290743D46 for ; Fri, 15 Jul 2005 19:14:02 +0000 (GMT) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 7E9B31704D; Fri, 15 Jul 2005 21:14:01 +0200 (CEST) Date: Fri, 15 Jul 2005 21:14:01 +0200 From: Ed Schouten To: Fred Gilham Message-ID: <20050715191401.GI36726@hoeg.nl> References: <200507151906.j6FJ6JqP034933@mx1.csl.sri.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uJrvpPjGB3z5kYrA" Content-Disposition: inline In-Reply-To: <200507151906.j6FJ6JqP034933@mx1.csl.sri.com> User-Agent: Mutt/1.5.9i X-Mailman-Approved-At: Sat, 16 Jul 2005 14:47:34 +0000 Cc: FreeBSD Current Subject: Re: Question about su and network X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 19:14:02 -0000 --uJrvpPjGB3z5kYrA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Fred Gilham wrote: > When my ISDN line was down yesterday, I noticed that su from an xterm > would hang on my FreeBSD box. Logging in as root from a virtual console > would work OK. After the network came back everything went back to > normal. >=20 > Is there a way I can avoid this behavior? I mean the hanging, not the > return to normal operation. :-) This would probably have happened because your DNS server was unreachable (su tries to resolve your hostname for the logfiles). This can be solved by adding your own host to /etc/hosts: 192.168.1.3 myhostname myhostname.mydomain.foo Yours, --=20 Ed Schouten --uJrvpPjGB3z5kYrA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC2Ar5mVI4SHXwmhERArEqAKDUFpUV1BLGW2yAHurojlL24D/QpwCfTnY+ qBbrwR2DeVvCONWNZSqShFA= =B+Rd -----END PGP SIGNATURE----- --uJrvpPjGB3z5kYrA--