Date: Sat, 12 Oct 2013 07:24:14 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Mark Felder <feld@FreeBSD.org> Cc: freebsd-jail@freebsd.org Subject: Re: ezjail and UPDATING20131010 Message-ID: <20131012072414.000058ea@unknown> In-Reply-To: <1381524131.18383.32977989.102BAA48@webmail.messagingengine.com> References: <20131011170340.47C726018E@smtp.hushmail.com> <1381512663.13242.32914813.65C2C03E@webmail.messagingengine.com> <1381513083.390908110.b6zxrgl9@frv34.ukr.net> <5258412F.7040301@erdgeist.org> <1381516978.924807986.pfyyx7nl@frv34.ukr.net> <52584CD1.8020707@erdgeist.org> <1381519020.168298097.2gv7zpen@frv34.ukr.net> <525851CE.6010808@erdgeist.org> <1381524131.18383.32977989.102BAA48@webmail.messagingengine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 Oct 2013 15:42:11 -0500 Mark Felder <feld@FreeBSD.org> wrote: > On Fri, Oct 11, 2013, at 14:30, Dirk Engling wrote: > > On 11.10.13 21:27, wishmaster wrote: > > > > > Yeah!? But do you think updating python in each jail this is the > > > right solution? Freebsd-update in each jail?? What about when > > > number of jails is 10 or about. My server is very high loaded and > > > I use tunable custom kernel and world. > > > > Don't use jails then. Better go and order ten servers and use the > > amazing features of ... well, d'oh. Puppet? > > > > This is not the right attitude to approach this problem. Let's take what is good from it: puppet or any other similar software. No matter if the servers are virtualized or not, such a software is designed to handle the package/config part of the question. With this you can even decide which servers get an update of software X instead of automatically updating every server and running into problems (major updates of PHP come into my mind here). Regarding OS updates (and I assume manual installworld updates in the question as freebsd-update is not considered an option) I use: ---snip--- cd /usr/src for jail in /path/to/jails/*; do echo $jail sleep 5 mergemaster -D $jail make DESTDIR=$jail delete-old -DBATCH_DELETE_OLD_FILES make DESTDIR=$jail check-old # list old libs fi make DESTDIR=/path/to/basejail delete-old -DBATCH_DELETE_OLD_FILES ---snip--- Depending on the situation I use delete-old-libs instead of check-libs (I know what gets deleted from the update of the jail-host) or issue the delete-old-libs later when all jails don't use the libs anymore. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131012072414.000058ea>