RE: Ezjail freebsd-update

2011-08-23 Thread Johan Hendriks
I had an opportunity to upgrade a server from freebsd 8.1 to 8.2 since
it had to be restarted any way. I upgraded it with freebsd-update and
compiled a custom kernel with no problem. However I haven't been able to
find a procedure for updating jails when they've been setup with ezjail.
I did 'ezjail-admin update -u' however it doesn't seem like that
upgraded things like the /etc/ dir inside jails. I'm not too worried
since everything is working however if anyone can point me in the right
direction I would appreciate it. I figure this will be especially
important when moving to 9.0 when it's released.

I always use ezjail_admin update -i 
Then do the normal mergemaster steps for the jails

mergemaster -iU -D /your/path/to/jail
You need to do that for every jail you have

So if you have three jails named jail_1, jail_2 and jail_3, you do this three 
times.

mergemaster -iU -D /your/path/to/jail_1
mergemaster -iU -D /your/path/to/jail_2
mergemaster -iU -D /your/path/to/jail_3



regards,
Johan Hendriks___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ezjail freebsd-update

2011-08-22 Thread Randy Schultz
On Sun, 21 Aug 2011, Rocky Borg spaketh thusly:

-}I had an opportunity to upgrade a server from freebsd 8.1 to 8.2 since it had
-}to be restarted any way. I upgraded it with freebsd-update and compiled a
-}custom kernel with no problem. However I haven't been able to find a procedure
-}for updating jails when they've been setup with ezjail. I did 'ezjail-admin
-}update -u' however it doesn't seem like that upgraded things like the /etc/
-}dir inside jails. I'm not too worried since everything is working however if
-}anyone can point me in the right direction I would appreciate it. I figure
-}this will be especially important when moving to 9.0 when it's released.

My understanding of ezjail is you just say ezjail-admin update.  Ezjail then
grabs the sources and rebuilds everything.  If you already have everything
built locally, e.g. you csup'd the sources, did the make buildworld, etc., you
can then just issue an ezjail-admin update -i.  I'm not familiar with the -u
option to ezjail and my man pages do not show it as an option.  ;


--
 Randy(schu...@earlham.edu)  765.983.1283 *

nosce te ipsum

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ezjail freebsd-update

2011-08-22 Thread Kaspars Bankovskis
Actually you don't have to rebuild the basejail. You may simply rerun
ezjail-admin install, which will fetch the binary files for your release
(uname -r) and will apply them if needed.

On Sun, Aug 21, 2011 at 06:27:56PM -0700, Rocky Borg wrote:
 I had an opportunity to upgrade a server from freebsd 8.1 to 8.2 since 
 it had to be restarted any way. I upgraded it with freebsd-update and 
 compiled a custom kernel with no problem. However I haven't been able to 
 find a procedure for updating jails when they've been setup with ezjail. 
 I did 'ezjail-admin update -u' however it doesn't seem like that 
 upgraded things like the /etc/ dir inside jails. I'm not too worried 
 since everything is working however if anyone can point me in the right 
 direction I would appreciate it. I figure this will be especially 
 important when moving to 9.0 when it's released.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Ezjail freebsd-update

2011-08-21 Thread Rocky Borg
I had an opportunity to upgrade a server from freebsd 8.1 to 8.2 since 
it had to be restarted any way. I upgraded it with freebsd-update and 
compiled a custom kernel with no problem. However I haven't been able to 
find a procedure for updating jails when they've been setup with ezjail. 
I did 'ezjail-admin update -u' however it doesn't seem like that 
upgraded things like the /etc/ dir inside jails. I'm not too worried 
since everything is working however if anyone can point me in the right 
direction I would appreciate it. I figure this will be especially 
important when moving to 9.0 when it's released.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org