No problem here:
[r...@vx ~]# lsb_release -a
LSB Version:
:core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5.3 (Tikanga)
Release: 5.3
Codename: Tikanga
[r...@vx ~]# cat /etc/issue
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
Kernel \r on an \m
[r...@vx ~]# uname -a
Linux vx 2.6.18-128.1.1.el5 #1 SMP Mon Jan 26 13:58:24 EST 2009 x86_64
x86_64 x86_64 GNU/Linux
[r...@vx ~]# which lsb_release
/usr/bin/lsb_release
[r...@vx ~]# rpm -qf /usr/bin/lsb_release
redhat-lsb-3.1-12.3.EL
Was your system upgraded from el4.5?
Vincent
On Mon, 23 Mar 2009, James Donovan wrote:
not sure if lsb_release works very well:
[r...@cob ~]# lsb_release -a
LSB Version:
:core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 4.5 (Tikanga)
Release: 4.5
Codename: Tikanga
[r...@cob ~]# more /etc/issue
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
Kernel \r on an \m
[r...@cob ~]# uname -a
Linux cobra.lgc.com 2.6.18-128.1.1.el5 #1 SMP Mon Jan 26 13:58:24 EST 2009
x86_64 x86_64 x86_64 GNU/Linux
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Corey Kovacs
Sent: Monday, March 23, 2009 5:18 PM
To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list
Subject: Re: [rhelv5-list] determining RedHat version during kickstart
Depending on when you need the information, lsb_release is nice.
lsb_release -a
LSB Version:
:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:desktop-3.1-ia32:desktop-3.1-noarch:desktop-3.2-ia32:desktop-3.2-noarch
Distributor ID: Fedora
Description: Fedora release 10 (Cambridge)
Release: 10
Codename: Cambridge
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list