From owner-freebsd-questions@FreeBSD.ORG Thu Nov 10 19:10:20 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9066016A41F for ; Thu, 10 Nov 2005 19:10:20 +0000 (GMT) (envelope-from gibblertron@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA71343D6A for ; Thu, 10 Nov 2005 19:10:07 +0000 (GMT) (envelope-from gibblertron@gmail.com) Received: by xproxy.gmail.com with SMTP id i26so587963wxd for ; Thu, 10 Nov 2005 11:10:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dMstBmk8UM7HvdPAQpIcCIhnQ5FF5k4ST+EGF4YnGgCEeEcCp6xtWNkRMrit27TJNAva5VTyAoDiHE1y4QSFgAV7M9wRDz6+7ngu+ys6BrpEQyxMw+CrgXE3+KIFlamX2EbpNmHRK5DfxCReyJixowTRfGLsGCILTkg8WW2K12g= Received: by 10.65.197.18 with SMTP id z18mr1251641qbp; Thu, 10 Nov 2005 11:10:06 -0800 (PST) Received: by 10.65.188.3 with HTTP; Thu, 10 Nov 2005 11:10:06 -0800 (PST) Message-ID: Date: Thu, 10 Nov 2005 11:10:06 -0800 From: patrick To: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Subject: Re: Jail cloning problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2005 19:10:20 -0000 So is it a repairable permissions issue, or is it something that I could never fix? The jail wasn't built on its own filesystem, and because I don't have a spare drive to do that, I'm hoping that there is some way possible to make cloning work using tar. Thanks, Patrick On 11/10/05, Glenn's mailing lists wrote: > On Thu, 10 Nov 2005, patrick wrote: > > > I built a jail, and then I tar'd it up after some setup so that I > > could create new jails quickly. When I start up a cloned jail, > > everything works except SSH. If I try to ssh outside of the jail, I > > just get: "Host key verification failed.". I know from past experience > > that if I rebuild the second jail the "make world" way, everything > > works fine, so I suspect that there is some permissions or dev issue > > after untarring. I'm 100% certain that it does not have to do with any > > actual host key verification. I've rebuilt the dev folder using > > MAKEDEV jail, and have also tried ensuring that permissions are > > correct in /tmp and /var, but to no avail. > > > > Can anyone think of any reason why SSH wouldn't work in a cloned jail l= ike this? > > Use dump and restore, and things will work as expected. The initial jail > has to be built on it's own file system though. > > -Glenn > > > > > Thanks, > > > > Patrick > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= .org" > > >