Aristedes Maniatis wrote on 02/22/2016 03:18:

[...]

Have I just now outgrown ezjail and should set off on my own? I'm afraid of how 
I'd go about upgrading the basejail for new FreeBSD host versions without your 
tool :-)

I don't know your environment and your FreeBSD jails skills but it seems you think jails are something complex and "magic". It is not. Managing jail by "hand" (own simple tools and scripts) is really simple and straight forward. Creating new base jail is just 'make installworld DESTDIR=/vol/jail/_basejail_XYZ' (or extracting base.txz installation archive) Movin your old jail to newer basejail is metter of change in fstab file where you will change path to new basejail.

Once you tried it you will found how simple it is to write some own script perfectly fitting your needs. It is just a file manipulation - installing, unpacking, movin, deleting. Nothing more.

As time and projects passed by, I had scripts to create+update jail from FTP, or from NFS mounted src and obj (by make installworld), or unpacking TGZ archive, or updated by rsyncing fails from hosts base or another directory...

There are so many ways you can do this and I don't think you will find any existing tool fitting all your needs.

Just don't be afraid of writing simple shell scripts :)

For your problem with installing old versions of packages - I think you are still able to install whatever version you need if you have it locally on disk. Then you can use "pkg install my-package-1.2.3.txz"
(you need all dependencies as well)

Miroslav Lachman
_______________________________________________
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"

Reply via email to