From owner-freebsd-current@FreeBSD.ORG Wed Aug 26 21:02:14 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D819106568E for ; Wed, 26 Aug 2009 21:02:14 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail34.syd.optusnet.com.au (mail34.syd.optusnet.com.au [211.29.133.218]) by mx1.freebsd.org (Postfix) with ESMTP id DEE9E8FC2E for ; Wed, 26 Aug 2009 21:02:13 +0000 (UTC) Received: from server.vk2pj.dyndns.org (c122-106-255-167.belrs3.nsw.optusnet.com.au [122.106.255.167]) by mail34.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n7QL2Ajh027346 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 27 Aug 2009 07:02:11 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id n7QL2AW4028286 for ; Thu, 27 Aug 2009 07:02:10 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id n7QL2APt028285 for freebsd-current@freebsd.org; Thu, 27 Aug 2009 07:02:10 +1000 (EST) (envelope-from peter) Date: Thu, 27 Aug 2009 07:02:10 +1000 From: Peter Jeremy To: freebsd-current@freebsd.org Message-ID: <20090826210210.GA28203@server.vk2pj.dyndns.org> References: <20090824193344.GA34949@server.vk2pj.dyndns.org> <2CDE9A31-C924-439F-8394-6325F821F9C2@lassitu.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: <2CDE9A31-C924-439F-8394-6325F821F9C2@lassitu.de> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: sshd failing in jail 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: Wed, 26 Aug 2009 21:02:14 -0000 --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2009-Aug-25 10:07:12 +0200, Stefan Bethke wrote: >Am 24.08.2009 um 21:33 schrieb Peter Jeremy: > >> I am attempting to build an i386 jail on an amd64 box to build >> packages for my netbook. The host is running -current from just over =2E.. >I had similar symptoms during a recent make world. Finishing =20 >installworld in the jails and rebooting made it all work again, so I =20 >did not investigate further. In this case, userland is a straight dump off my netbook - where it all works. The differences are in the configuration and that it's running against a kernel that is slightly newer and a different architecture. Changing userland would render the whole jail useless. One further datapoint (based on an off-list suggestion): It's i386- rather than jail- related. Running the same sshd outside the jail breaks in exactly the same way so it is something related to running an i386 sshd on an amd64 kernel - unfortunately, I haven't yet located the incompatibility. Actually debugging this is not made easier by gdb's refusal to trace into the child process and the inability of the child to produce a core dump. --=20 Peter Jeremy --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqVotIACgkQ/opHv/APuIcUIwCgqIDV++uMRCPMDUWJAKCPeqfV wMgAn1bJ0xig5K+NvYQFKSPuzuNBB6q9 =SEGN -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4--