Re: first A record of security.debian.org extremely slow
On Thu, Mar 02, 2006 at 10:36:16PM +0100, Marc Haber wrote:
> On Thu, Mar 02, 2006 at 08:06:48PM +0100, Florian Weimer wrote:
> > * Geoff Crompton:
> > > I'm also wondering if security.debian.org has enough resources for every
> > > single debian box on the planet checking it every X minutes.
> >
> > You can use the DSA posting as a trigger.
>
> Usually, cron-apt has already noticed that there is an update
> available before the DSA posting comes in.
>
> How would you implement the automatism to trigger the update on the
> incoming e-mail?
How about a procmail rule?
There ought to be several ways for an implementation, each one will have
to rely on your mailserver or procmail positively identifying a
security-announcement.
then you can
- make the procmail rule call aptitude update && aptitude upgrade
directly
- save the mail to a special place and make some other program trigger
the update (via a db or perhaps FAM or a cron-job)
Greetings
Horst
--
The income tax has made more liars out of the American people than golf
has. Even when you make a tax form out on the level, you don't know
when it's through if you are a crook or a martyr.
-- Will Rogers
Reply to: