<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jun 19, 2014 at 6:15 AM, Miroslav Suchý <span dir="ltr"><<a href="mailto:msuchy@redhat.com" target="_blank">msuchy@redhat.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 06/19/2014 12:38 PM, Jimmy Kaplowitz wrote:<br>
> Features that are introduced by systemd can't be assumed as present except on those (recent) Linux OS versions which are<br>
> using systemd, and can almost be assumed absent outside the Linux world (such as Solaris, BSD, Win/Mac). A few<br>
<br>
</div>Well parsing /etc/redhat-release works only on RHEL/Fedora. /etc/os-release is little better, although I admit id did<br>
not work on Windows :)</blockquote><div><br></div><div>Right, I was replying to the /etc/os-release. That only works on RHEL/CentOS/Fedora 7, 6 and maybe 5. Python's platform module supports far older versions of those.</div>

<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
> non-systemd Linux distros do ship /etc/os-release, especially those distro preparing to adopt systemd like Debian and<br>
> Ubuntu - but even there only in recent or unreleased versions<br>
<br>
</div>Not completely true. It is present in Debian for 2 years - long time before considering systemd. And it is present in<br>
Debian stable already:<br>
  <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659853" target="_blank">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659853</a></blockquote><div><br></div><div>Debian stable already has pretty good working systemd as a non-default option, which explains that. The recent publicity was about Debian's decision to switch the default starting with Debian 8 "jessie".</div>

<div><br></div><div>For enterprise-lifecycle distros like Debian / RHEL / CentOS, being added two years ago and being present in only the most current stable release counts as "recent". Many people are still running Debian 7 "squeeze", to the point where a subset of squeeze ("squeeze-lts") is still receiving support and security fixes beyond Debian's normal policies.</div>

<div><br></div><div>- Jimmy</div></div></div></div>