<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 8/30/14, 6:42 AM, Simon Lukasik
      wrote:<br>
    </div>
    <blockquote cite="mid:5401AA9D.5030900@redhat.com" type="cite">
      <div class="moz-text-flowed" style="font-family: -moz-fixed;
        font-size: 12px;" lang="x-western">On 08/29/2014 04:56 AM, Simon
        Lukasik wrote:
        <br>
        <blockquote type="cite" style="color: #000000;">Hello Guys,
          <br>
          <br>
          I have messing with systemdunitproperty. I got oscap to the
          point that
          <br>
          it prints out:
          <br>
          <br>
               Failed to import the OVAL Definitions from
          <br>
          'output/ssg-rhel6-oval.xml'.
          <br>
               OpenSCAP Error: Unable to open file:
          'output/ssg-rhel6-oval.xml'
          <br>
          [oscapxml.c:573]
          <br>
               No such file or directory 'output/ssg-rhel6-oval.xml'
          <br>
          [oval_defModel.c:232]
          <br>
        </blockquote>
        <br>
        Och, I've pasted wrong error message. I was nervous about
        draining battery. The error message I saw was:
        <br>
        <br>
            Definition oval:ssg:def:743: not evaluated
        <br>
            OpenSCAP Error: Probe at sd=4 (systemdunitdependency)
        reported an error: Operation not supported
        [./oval_probe_ext.c:525]
        <br>
            No definition with ID: oval:ssg:def:743 in result model.
        [oval_agent.c:184]
        <br>
        <br>
        The reproducer remains the same. Thanks! <br>
      </div>
    </blockquote>
    <br>
    One step missing from the reproducer... checkout the systemd branch<br>
    <br>
    <br>
    $ git clone <a class="moz-txt-link-abbreviated" href="mailto:git@github.com:isimluk/scap-security-guide.git">git@github.com:isimluk/scap-security-guide.git</a> systemd <br>
    <font color="#ff0000"><b>$ git checkout remotes/origin/systemd</b></font><br>
    $ cd systemd/RHEL/6/
    <br>
    $ make content<br>
    $ #service_quota_nld_disabled<br>
    $ oscap oval eval --skip-valid --id oval:ssg:def:743
    output/ssg-rhel6-oval.xml <br>
    Failed to import the OVAL Definitions from
    'output/ssg-rhel6-oval.xml'.<br>
    OpenSCAP Error: Unknown test type oval:ssg:tst:3202.
    [oval_test.c:369]<br>
    $ # service_auditd_enabled<br>
    $ oscap oval eval --skip-valid --id oval:ssg:def:973
    output/ssg-rhel6-oval.xml <br>
    Failed to import the OVAL Definitions from
    'output/ssg-rhel6-oval.xml'.<br>
    OpenSCAP Error: Unknown test type oval:ssg:tst:3202.
    [oval_test.c:369]<br>
    <br>
    tst:3202 is below:<br>
    <blockquote type="cite">    <linux:systemdunitproperty_test
      check="all" check_existence="any_exist" comment="systemd test"
      id="oval:ssg:tst:3202" version="1"><br>
            <linux:object object_ref="oval:ssg:obj:3212"/><br>
            <linux:state state_ref="oval:ssg:ste:3213"/><br>
          </linux:systemdunitproperty_test></blockquote>
    <br>
    I'm on RHEL 6 / openscap-utils-1.0.8-1.el6_5.x86_64<br>
    <br>
  </body>
</html>