Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2011 12:32:52 +0200
From:      Stefan Bethke <stb@lassitu.de>
To:        Chris Rees <crees@FreeBSD.org>
Cc:        "freebsd-stable@freebsd.org List" <freebsd-stable@freebsd.org>
Subject:   Running portupgrade from cron (was: /usr/bin/script eating 100% cpu with portupgrade and xargs)
Message-ID:  <DB5443F8-9978-413C-8A5A-9E08189F1BAD@lassitu.de>
In-Reply-To: <CADLo838wJoG-RbnoUDoypES_6uzjjLfcO=A1AoTjWxYZrPxFMg@mail.gmail.com>
References:  <op.v1y8gdtf8527sy@pinky> <20110918045413.GA63773@DataIX.net> <20110918053901.GA31617@icarus.home.lan> <op.v1zrszht8527sy@pinky> <86d3eydsmf.fsf@kopusha.home.net> <CAOnPXZ9z2MoZ7uxyUQzBx3Lz1mhY-2JKxO0mepzMp81J4WEVtw@mail.gmail.com> <20111008002707.GA76128@swelter.hanley.stade.co.uk> <20111012222535.GB79291@swelter.hanley.stade.co.uk> <20111014120336.GB31718@stack.nl> <08C7028B-10E1-4855-B007-D2257216F077@lassitu.de> <CADLo838wJoG-RbnoUDoypES_6uzjjLfcO=A1AoTjWxYZrPxFMg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Am 23.10.2011 um 08:47 schrieb Chris Rees:

> Worst of all, you're running portupgrade from cron without reading UPDATING,
> which is just asking for trouble.

What specifically is your concern here?

I've been running portupgrade from cron for six years on a multitude of systems with great success.  Yes, occasionally, things break, and reading UPDATING becomes a necessity, but I much prefer the nightly upgrade to running portupgrade by hand less frequently, especially when you have to do it on 20 or more machines.

Note that most of these boxes have very limited SLAs, and dealing with the occasional breakage is much less work than regular manual maintainance.

I decided to do this after I got bitten one too many times trying to upgrade ports after three to four months, and getting stuck in all kinds of bad dependencies.  Daily upgrades usually means that I catch every single update by itself, so complex interdependencies are exactly what the committer tested.


Stefan

-- 
Stefan Bethke <stb@lassitu.de>   Fon +49 151 14070811






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DB5443F8-9978-413C-8A5A-9E08189F1BAD>