Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2010 20:58:10 -0600
From:      Scott Lambert <lambert@lambertfam.org>
To:        freebsd-jail@freebsd.org
Cc:        Jose Amengual <jose.amengual@gmail.com>
Subject:   Re: Importing jails from 7.0, 7.2 to 8.0.
Message-ID:  <20100209025810.GA9904@sysmon.tcworks.net>
In-Reply-To: <5C26732B-3077-49AD-8679-B13CE4132796@gmail.com>
References:  <201002081106.o18B6wVO087428@freefall.freebsd.org> <415609C2-DB3A-4617-9278-50B5EAF88CAF@rdc.cl> <4B7073C6.2020901@rednetgroup.com> <31A8571E-B879-4F21-B72A-5CC52A226CD2@rdc.cl> <4B7083A0.7010100@quip.cz> <1A79CBF1-3085-49BD-B9B0-4C7399CF9C7E@gmail.com> <4B7089BD.9020901@quip.cz> <5C26732B-3077-49AD-8679-B13CE4132796@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 08, 2010 at 02:05:17PM -0800, Jose Amengual wrote:
> The problem that I had was that if I don't install compat7x I will not
> be able to use any software inside of my jail like bash, portupgrade,
> perl etc so you are force to install it and then upgrade all ports.
>
> I as getting this errors :
> 
> /libexec/ld-elf.so.1: Shared object "libcrypt.so.4: not found, required by "ruby18" 
> etc and none of the services are running.
> 
> when I was running almost all the thirty party utilities or ports apps
> installed on the jail.

That is expected.

When I get ready to move a jail between hosts, I make sure root and my
user are using /bin/sh or /bin/tcsh before I archive the jail on the old
host.

Then I can login to the jail on the new system without too much trouble.

If you need to be in production immediately, you pretty much need to
install the compat libs immediately.  Then you can change your shell
back to bash if you want, but I'd probably wait until you get done
upgrading all the ports, just in case.

If you do not have to be in production immediately, you can then:

$ su
# pkg-delete sudo
# cd /usr/ports/security/sudo/
# make install clean
# pkg-delete portupgrade
# pkg-delete ruby* 
# cd /usr/ports/ports-mgmt/portupgrade
# make install clean
# portupgrade -af 

When that is all done, you can restart the jail and the services should
work.

Actually, things like this are part of the reason I switched to
portmaster, no non-base system dependencies.  But for some things, I
still prefer the way portupgrade works.

-- 
Scott Lambert                    KC5MLE                       Unix SysAdmin
lambert@lambertfam.org




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