<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">&lt;<a href="mailto:msuchy@redhat.com" target="_blank">msuchy@redhat.com</a>&gt;</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>
&gt; Features that are introduced by systemd can&#39;t be assumed as present except on those (recent) Linux OS versions which are<br>
&gt; 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&#39;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="">
&gt; non-systemd Linux distros do ship /etc/os-release, especially those distro preparing to adopt systemd like Debian and<br>
&gt; 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&#39;s decision to switch the default starting with Debian 8 &quot;jessie&quot;.</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 &quot;recent&quot;. Many people are still running Debian 7 &quot;squeeze&quot;, to the point where a subset of squeeze (&quot;squeeze-lts&quot;) is still receiving support and security fixes beyond Debian&#39;s normal policies.</div>

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