public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
From: xyon <xyon@indigorobot.com>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] prioritising security updates
Date: Wed, 07 Sep 2005 08:21:41 -0400	[thread overview]
Message-ID: <ME-1ECyvr-0002ns-Nl@indigorobot.com> (raw)
In-Reply-To: <431E0FDA.70805@lunatic.net.nz>

I have a 'quick n dirty' script cron'd up that at the top lets me know
the security updates, below lets me know the version updates, and below
that displays the changelog of packages available for update:

-----------------------------------------------------------------------------

#!/bin/sh

emerge --sync

echo '***************************' > /tmp/updates.txt
echo '        System Updates     ' >> /tmp/updates.txt
echo '***************************' >> /tmp/updates.txt
echo ' ' >> /tmp/updates.txt
echo ' ' >> /tmp/updates.txt
echo 'Critical Updates:' >> /tmp/updates.txt
glsa-check -l 2>/dev/null | grep '\[N\]' | grep -v 'indicates that'|cut
-d ']' -f2 >> /tmp/updates.txt
echo ' ' >> /tmp/updates.txt
echo ' ' >> /tmp/updates.txt
echo ' ' >> /tmp/updates.txt
echo 'Non-Critical Updates:' >> /tmp/updates.txt
emerge -up world >> /tmp/updates.txt
echo ' ' >> /tmp/updates.txt
echo ' ' >> /tmp/updates.txt
echo ' ' >> /tmp/updates.txt
echo 'Changelogs:' >> /tmp/updates.txt
emerge -upl world >> /tmp/updates.txt
echo ' ' >> /tmp/updates.txt
echo ' ' >> /tmp/updates.txt
echo ' ' >> /tmp/updates.txt

mutt -s 'Server Updates' -i /tmp/updates.txt -x myuser@mydomain.com

rm /tmp/updates.txt

-----------------------------------------------------------------------


It actually comes out to a nicely formatted email. :)

HTH!

On Wed, 2005-09-07 at 09:53 +1200, Jeremy Brake wrote:
> Hey,
> 
> Is there anything in Portage which will allow me to view security 
> updates, seperate from general version updates?
> At the moment i have a 5am cron job which runs "emerge --sync && emerge 
> -upvD world" , and i just glance at it as soon as I i sit down at my pc 
> for the day.
> The problem here is that I cant tell if updates (eg, at the moment it 
> wants to update openssh and apache2) are security patches, or just 
> general version upgrades.
> 
> I know i can use "system" instead of "world" and omit the -D option, but 
> thats not targeting my issue exactly. Is there a way to see which 
> updates are security patches, without having to manually trawl through 
> webpages and changelogs?
> 
> Jeremy

-- 
gentoo-server@gentoo.org mailing list



  parent reply	other threads:[~2005-09-07 12:23 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-06  0:09 [gentoo-server] Virtual ssh users Yogesh Sharma
2005-09-06  0:15 ` Jeremy Brake
2005-09-06  0:26 ` Ben Munat
2005-09-06  6:08   ` ysharma
2005-09-06 16:41     ` Ben Munat
2005-09-06 21:53       ` [gentoo-server] prioritising security updates Jeremy Brake
2005-09-06 22:14         ` Paul Kölle
2005-09-07  6:12         ` Michael Irey
2005-09-07  6:48           ` W.Kenworthy
2005-09-07 15:28             ` Matthias Bethke
2005-09-07 22:56               ` William Kenworthy
2005-09-08 12:19                 ` Matthias Bethke
2005-09-07 12:21         ` xyon [this message]
2005-09-08 14:39         ` A. Khattri
2005-09-08 14:43       ` [gentoo-server] Virtual ssh users A. Khattri
  -- strict thread matches above, loose matches on Subject: below --
2005-09-06 22:05 [gentoo-server] prioritising security updates Christopher Schwerdt
2005-09-06 22:16 ` Jeremy Brake
2005-09-07  2:04 ` Ben Munat
2005-09-07  5:51   ` Sune Kloppenborg Jeppesen
2005-09-07 16:21     ` Ben Munat
2005-09-13 22:26       ` Jonas 'data' Fietz
2005-09-21 16:45         ` Yogesh Sharma
2005-09-22  3:28           ` Ben Munat
2005-09-22  4:24             ` Yogesh Sharma
2005-09-22 16:03               ` Ben Munat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ME-1ECyvr-0002ns-Nl@indigorobot.com \
    --to=xyon@indigorobot.com \
    --cc=gentoo-server@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox