Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2011 17:03:58 +0200
From:      Kurt Jaeger <lists@opsec.eu>
To:        freebsd-stable@freebsd.org
Subject:   Re: Running portupgrade from cron (was: /usr/bin/script eating 100% cpu with portupgrade and xargs)
Message-ID:  <20111023150358.GS28186@home.opsec.eu>
In-Reply-To: <CANmv3=wjvLFDpKE10D8RUdS6qjB5ozHT7ahvuJdkR55XY_jV_Q@mail.gmail.com>
References:  <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> <DB5443F8-9978-413C-8A5A-9E08189F1BAD@lassitu.de> <CANmv3=xZbpYT18h%2BqRL8Zw8xL%2BOPEB9aTb0Bbs18m8rWW2Atrg@mail.gmail.com> <9E8E59C0-5FE6-4193-9A01-8A2DFBC311F7@lassitu.de> <CANmv3=wjvLFDpKE10D8RUdS6qjB5ozHT7ahvuJdkR55XY_jV_Q@mail.gmail.com>

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

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

> >>> What specifically is your concern here?

> Yes, but updating correctly in first place is better than trying to
> understand what happened to software looking for libpng.so.N when
> there is libpng.so.N+1 and _then_ reading UPDATING is better, don't
> you think?

It depends. I have reference boxes which daily run portupgrade
from cron, just to see whether I have a consistent set of ports
for our apps.

If most of the packages are stable, I'll generate a pkg collection
and replicate it to those destination hosts that need updating and
replace every pkg on those hosts with new pkgs.

> Other point is that during update daemons never restarted. But
> sometimes stopped, dovecot, for example, if I'm not mistaken. Do you
> also reboot after each cron update?

As the reference boxes do not run services, that's not a problem.

To sum it up: running portupgrade from cron is useful.

-- 
pi@opsec.eu            +49 171 3101372                         9 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111023150358.GS28186>