[328] in athena10

home help back first fref pref prev next nref lref last post

Re: Automatic updates for Athena 10

daemon@ATHENA.MIT.EDU (Kevin Chen)
Thu Jul 24 15:29:14 2008

Date: Thu, 24 Jul 2008 15:28:29 -0400 (EDT)
From: Kevin Chen <kchen@MIT.EDU>
To: ghudson@mit.edu
cc: athena10@mit.edu
In-Reply-To: <200807241921.m6OJLqvx028088@outgoing.mit.edu>
Message-ID: <alpine.DEB.1.10.0807241525310.6501@vinegar-pot.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Thu, 24 Jul 2008, ghudson@MIT.EDU wrote:

> Anyway, my basic approach would likely be a cron job which checks if
> anyone is logged in, temporarily disables logins, runs "aptitude
> update" and "aptitude full-upgrade" with the noninteractive front end
> and stdin set to /dev/null, and reboots the machine if there's a new
> kernel.  (Or maybe in more circumstances?  I'm not sure how
> update-manager decides whether to recommend a reboot.)  But first, I'm
> checking in to see if anyone knows of existing work in this area that
> might do a better job than a homegrown cron job can.

At my work, we use cron-apt.

I haven't looked at it much, but the way it used to be configured here 
(when we were on Debian Sarge), it e-mailed me when there are updates, 
told me what they were and what commands I need to run, and said that it 
would automatically install the updates if I don't do so by a certain 
time.

(Now on our Ubuntu machines, updates aren't automatically installed, but I 
think that's policy-related, not distribution-related.)

--
Kevin Chen
http://www.sneswhiz.com/

home help back first fref pref prev next nref lref last post