LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-22-2009, 10:08 AM   #1
dfezz1
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Rep: Reputation: 0
Determining patch level of Redhat RHEL5 vs RHEL5.1 or RHEL4.5-4.6


Hello all,

I am very embarrassed to ask such a simple question, but I have been unable to find the answer anywhere else.

I have tried "uname -ar" which in any other UNIX system will give almost everything you need. oslevel in AIX / uname -v sun ...etc

Thanks in advance

I know that Linux really doesn't work on rev level like other UNIX flavors, but I just need a quick way to determine where the servers are currently overall - I can query RPM pakages individually and update them via up2date or yum

Last edited by dfezz1; 01-22-2009 at 10:09 AM.
 
Old 01-22-2009, 02:47 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,995
Blog Entries: 5

Rep: Reputation: 782Reputation: 782Reputation: 782Reputation: 782Reputation: 782Reputation: 782Reputation: 782
It depends on what you mean by "patch level". I suspect you mean that in the sense that Solaris uses it (which by the way HP-UX and other UNIX variants do not).

If so then "uname -a" will include with the kernel version
example kernel versions:
2.6.18-8.1.14.el5
2.6.18-92.1.22.el5
Note that the "el5" at end lets you know these are RHEL5 based kernels.

However it does NOT tell you whether they are on a RHEL5(.0), RHEL5.1 or RHEL5.2 box. To find that out you would type: "cat /etc/redhat-release".
Example RHEL versions:
Red Hat Enterprise Linux Server release 5 (Tikanga)
Red Hat Enterprise Linux Server release 5.2 (Tikanga)

FYI the first kernel above is for first RHEL5(.0) and second is for the RHEL5.2.

To determine specific package versions you can run:
"rpm -qa" to get a list of all installed RPMs. These contain base package version information as well and RedHat version information and sometimes architecture information. (You can force all this by adding options - see "man rpm".)

A good example would be:
bind-chroot-9.3.4-6.0.3.P1.el5_2
Package Name = bind-chroot
Base BIND version is 9.3.4
RedHat's version of the 9.3.4 is 6.0.3.P1.el5_2

The base version lets you know which open version of the open source package (BIND is made by ISC rather than RedHat) you have. The RedHat version lets you know RedHat's version for this.

This version information is key because RedHat often backports security fixes and other changes to the base version. For example ISC's BIND didn't address a known attack called the Kaminsky attack until AFTER 9.3.4. However RedHat backported the fix put in the ISC BIND later version into their 9.3.4 version above. To know exactly what is in the version you're looking at you'd have to go to RedHat's site to get the detail.
 
Old 01-23-2009, 09:17 AM   #3
dfezz1
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks jlightner
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL5 - I have RHEL5 DVD , how i install ofice packages like SPREADSHEET ETC, bharath@linux Linux - Newbie 3 10-12-2008 02:24 PM
What are the security differencs between RHEL4 and RHEL5? windowsnot Red Hat 9 07-19-2008 12:54 PM
Downrev from RHEL5 to RHEL4 rhe Linux - Newbie 1 06-11-2008 05:58 AM
how to uninstall rhel4 &rhel5 O/S jagadeesh.nagireddy Linux - Enterprise 2 10-17-2007 08:53 PM
Rhel4/ Rhel5 rehan999 Linux - Software 2 08-31-2007 11:42 PM


All times are GMT -5. The time now is 02:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration