/etc/redhat-release
Marti, Robert
RJM002 at shsu.edu
Mon Jun 28 21:02:21 UTC 2010
-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com] On Behalf Of m.roth at 5-cent.us
Sent: Monday, June 28, 2010 3:50 PM
To: General Red Hat Linux discussion list
Subject: Re: /etc/redhat-release
John,
inode0 wrote:
> On Mon, Jun 28, 2010 at 3:14 PM, <m.roth at 5-cent.us> wrote:
>> <snip>
>>> On Mon, Jun 28, 2010 at 2:15 PM, Stainforth, Matthew (SD/DS)
>>> <Matthew.Stainforth at gnb.ca> wrote:
>>>>> The "pain point" I mentioned was the inconsistent treatment of
>>>>> /etc/redhat-release which causes maintenance work for those of us
>>>>> who do need to parse it in scripts over time. We can expect
>>>>> distinct cases for each major release of RHEL but there have also
>>>>> been occasions where this file has changed in unpredictable ways
>>>>> across minor update levels as well.
>> <snip>
>> Y'know, when all you want is lsb_release, and I know I'd noticed it
>> when I installed it on some of our servers, but this finally
>> penetrated, so I just did rpm -qi -R redhat-lsb. Can *ANYONE* explain
>> to me why it needs libX11? I mean, it's a bloody command line shell
>> script that prints to STDOUT!
>
> Having the redhat-lsb package installed is *supposed* to mean your
> system is LSB compliant. That entails a lot more than that one shell
> script.
Yeah, but that package, AFAIK, isn't supposed to *make* it compliant, just check if everything's there.
mark
--
Name : redhat-lsb
Arch : x86_64
Version : 3.1
Release : 12.3.EL
Size : 21 k
Repo : rhel-x86_64-server-5
Summary : LSB support for Red Hat Linux
License : GPL
Description: The Linux Standards Base (LSB) is an attempt to develop a set of
: standards that will increase compatibility among Linux
: distributions. The redhat-lsb package provides utilities needed for
: LSB Compliant Applications. It also contains requirements that
: will ensure that all components required by the LSB that are
: provided by Red Hat Linux are installed on the system.
Looks like it does both.
More information about the redhat-list
mailing list