Solved [Solved] updading jails after build world

Hello everyone,

FreeBSD 10 system to resolve the openssl heart bleed problem as described at http://www.freebsd.org/security/advisories/FreeBSD-SA-14:06.openssl.asc
I now need some advise on on to update the jail that is running on the host.
My understanding from the man ezjail-admin is that i need to run the following to update the jails
Code:
ezjail-admin update -u -i

My system is on root ZFS.
Is my understanding correct? will the web server files be destroyed?

Thank you
Fred
 
Re: updading jails after build world

Hi @fred974,

First of all you need to rebuild the world with:
# cd /usr/src && make buildworld
Next you can install the new world in jails area with:
# ezjail-admin update -i
or you can do both with:
# ezjail-admin update -b

Note: ezjail commands here are valid for version 3.3.

Note 2: Assuming you are using FreeBSD 10.0-RELEASE you should update it before updating jails.

---
Is my understanding correct? will the web server files be destroyed?
If you use default locations for web server files (configs and/or user files) they should be safe.
I never experienced loss of files because of sysutils/ezjail and find it as "a must" for jails usage.

A very good practice (if not life saving) is to backup the jails before any change.
 
Last edited by a moderator:
Re: updading jails after build world

Thank you @zodias,

Your reply is really appreciated.

fred
 
Last edited by a moderator:
Back
Top