Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2005 11:10:06 -0800
From:      patrick <gibblertron@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Jail cloning problem
Message-ID:  <b043a4850511101110n473d2c06jaeb73da6799ba31f@mail.gmail.com>
In-Reply-To: <Pine.LNX.4.63.0511101103530.1125@cobalt.antimatter.net>
References:  <b043a4850511101101o6aee9286h90e909c5a18e7114@mail.gmail.com> <Pine.LNX.4.63.0511101103530.1125@cobalt.antimatter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <lists@cobalt.antimatter.net> 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"
> >
>



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