- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Patch Management
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 01:56 AM
02-25-2003 01:56 AM
Patch Management
I have been tasked with the following;
1. Detail listings of all patches on each server.
2. Details of missing patches.
3. Required patches.
Anyone got any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 02:30 PM
02-25-2003 02:30 PM
Re: Patch Management
Do you mean udpated software packages?
Which distribution are you using?
In the RedHat world, this sort of thing is handled by RHN and 'up2date'. Of course, up2date requries Internet access.
If you're in an Advanced Server network, you have the ability to use your local servers as a distribution point for the RHN.
As for getting lists of installed software, 'rpm -qa' is where you look, but this is a very messy way of trying to get up-to-date lists of installed packages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 09:47 PM
02-25-2003 09:47 PM
Re: Patch Management
Sorry, Linux doesn't work like that though the update tools are pretty slick.
Even with rpm queries you are not going to get a current list, because this does not cover stuff you've installed and compiled off tarball or other compressed format.
BTW, HP-UX swlist doesn't show those installs better.
Red hat dosn't really use patches the HP does.
If sendmail 8.1.2 has a problem, Red Hat will put up the next version in rpm format for either downland and install(rpm -i filename).
The installation whichever way you do it will replace sendmail 8.1.2 with the newever version.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 01:13 AM
02-26-2003 01:13 AM
Re: Patch Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 06:19 AM
02-26-2003 06:19 AM
Re: Patch Management
[root@obiwan root]# up2date -l
Fetching package list for channel: redhat-linux-i386-7.2...
########################################
Fetching Obsoletes list for channel: redhat-linux-i386-7.2...
########################################
Fetching rpm headers...
Name Version Rel
----------------------------------------------------------
The following Packages were marked to be skipped by your configuration:
Name Version Rel Reason
-------------------------------------------------------------------------------
kernel 2.4.18 24.7.xPkg name/pattern
kernel-source 2.4.18 24.7.xPkg name/pattern
None of the packages you requested were found, or they are already updated.
[root@obiwan root]#
Good luck!
-dd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 07:28 AM
02-26-2003 07:28 AM
Re: Patch Management
Download ALL of the latest and greatest updated packages from your distro., 'cd' into the directory(ies) where the updates are at, and do a "rpm -Fv --test *.rpm". This will take a little while, but it will give you a list of every RPM that is out of date. MAKE SURE you pass it the "--test" option, of you'll actually start patching things. If you put all the patches on an NFS server somewhere, you can script this process on every machine (and actually patch things much easier)
"rpm" also has the "--queryformat" option, that allows you to specify exactly what you want to know about a package. For you, something like the following might be useful...
rpm -qa --qf "%{NAME}\t%{VERSION}\t%{RELEASE}\n"
This will give you a nice parseable output that you can feed into something else to do the version comparison.
It's too bad "rpm" doesn't get more publicity. It's a very powerful tool.
I hope this helps.
~Chris