Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2009 07:02:10 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        freebsd-current@freebsd.org
Subject:   Re: sshd failing in jail
Message-ID:  <20090826210210.GA28203@server.vk2pj.dyndns.org>
In-Reply-To: <2CDE9A31-C924-439F-8394-6325F821F9C2@lassitu.de>
References:  <20090824193344.GA34949@server.vk2pj.dyndns.org> <2CDE9A31-C924-439F-8394-6325F821F9C2@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <stb@lassitu.de> 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--



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