Jail management

Aristedes Maniatis ari at ish.com.au
Mon Feb 22 11:26:14 UTC 2016


On 22/02/2016 9:56pm, Miroslav Lachman wrote:
> 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.
...
> Just don't be afraid of writing simple shell scripts :)


You are right, and perhaps I should just bite the bullet. I am afraid of only two things.

* upgrade the basejail with FreeBSD upgrades. I am sure this is a simple bit of chroot magic, but freebsd-update is a bit of a black box to me.

* nullfs. I've never used it before and need to play with it more

As for shell scripts: my only goal in life is to write *fewer* shell scripts. My adoption of saltstack was spurred by shell everywhere, mostly not under version control. So less shell and more python centrally managed and versioned is my dream.



> 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)

I think 'pkg add' is needed there, but dependencies are very complicated to make work in this way. And I need a new package distribution model not based on the standard repo that poudriere makes. Which is why I started this whole exploration.


Thanks for your ideas. I should be less afraid of letting go of the jail management tools.

Ari




-- 
-------------------------->
Aristedes Maniatis
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001   fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-jail/attachments/20160222/4d06a89e/attachment.sig>


More information about the freebsd-jail mailing list