[CentOS-devel] enhancing /etc/*-release

Nico Kadel-Garcia nkadel at gmail.com
Thu Apr 2 11:51:54 UTC 2015


On Thu, Apr 2, 2015 at 6:49 AM, Anders F Björklund
<afb at users.sourceforge.net> wrote:
> Peter wrote:
>
>>>>  I would love to see /etc/os-release added to CentOS5 and CentOS6 as well.  Keep up the good work!
>>>
>>> But os-release is a systemd "feature"*. Seems unlikely to make it ?
>>
>> Really?  On my system it's a very simple text file included with the
>> centos-release package.  I honestly can't see how having sys-v-init or
>> upstart would make it impossible or even remotely difficult to create
>> such a text file and include it in CentOS 5 and 6.
>
> Sure, and as such it's probably "better" than the lsb_release *program*.
> But you would still have to install something extra, in the old releases ?

And in *all* the old management tools that need to detect the
operating system, even the obsolete releases.Please don't muck with
stable workflow: And for the inevitable XKCD cartoon about this:

      https://xkcd.com/1172/


More information about the CentOS-devel mailing list