<div dir="ltr">George,<div><br></div><div>This is a bug in the pattern matching code for this check that has recently  been fixed. </div><div><br></div><div>I&#39;m not sure on the timeline for getting that fix into the rpms.</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 23, 2014 at 12:51 PM, Jackson, George C III CTR DISA PEO-MA (US) <span dir="ltr">&lt;<a href="mailto:george.c.jackson1.ctr@mail.mil" target="_blank">george.c.jackson1.ctr@mail.mil</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all, I&#39;ve seen reference to this on this and other lists but no<br>
acceptable resolution.<br>
<br>
Per documentation, I downloaded and installed the following:<br>
<br>
openscap-content-1.0.8-1.el6_5.noarch<br>
perl-Pod-Escapes-1.04-136.el6.x86_64<br>
openscap-1.0.8-1.el6_5.x86_64<br>
scap-security-guide-0.1-16.el6.noarch<br>
openscap-utils-1.0.8-1.el6_5.x86_64<br>
python-lxml-2.2.3-1.1.el6.x86_64<br>
<br>
Using the command in the User Guide, after running:<br>
<br>
oscap xccdf eval --profile stig-rhel6-server-upstream \<br>
--results /tmp/`hostname`-ssg-results.xml \<br>
--report /tmp/`hostname`-ssg-results.html \<br>
--cpe /usr/share/xml/scap/ssg/content/ssg-rhel6-cpe-dictionary.xml \<br>
/usr/share/xml/scap/ssg/content/ssg-rhel6-xccdf.xml<br>
<br>
I get valid output for about 225 CCE checks but then error out with:<br>
<br>
OpenSCAP Error: Conversion of the string &quot;-&quot; to an integer (64 bits) failed:<br>
Invalid argument [oval_cmp.c:113]<br>
<br>
I can confirm this is coming from the check for disabling coredumps in the<br>
limits.conf file by having replacing<br>
<br>
* - core 0<br>
<br>
with<br>
<br>
* hard core 0<br>
<br>
which resulted in:<br>
<br>
OpenSCAP Error: Conversion of the string &quot;hard&quot; to an integer (64 bits)<br>
failed: Invalid argument [oval_cmp.c:113]<br>
<br>
I went back and downloaded the scap-security-guide 0.5 source and<br>
compiled/installed. The doc says rhel6-xccdf-scap-security-guide.xml and<br>
rhel6-oval-scap-security-guide.xml would be produced from the make but I<br>
didn&#39;t find any. I did find the ssg xccdf and cpe files from<br>
scap-security-guide/RHEL6/dist/content so used those and got:<br>
<br>
Profile &quot;stig-rhel6-server-upstream&quot; was not found.<br>
<br>
Re-running again with server and stig-server profiles instead gave:<br>
<br>
OpenSCAP Error: Selector ID(ensure_logrotate_activated) does not exist in<br>
Benchmark. [xccdf_policy.c:1904]<br>
<br>
after running a few valid checks.<br>
<br>
Am I missing a step somewhere?<br>
<br>
Thanks,<br>
George Jackson<br>
<br>_______________________________________________<br>
scap-security-guide mailing list<br>
<a href="mailto:scap-security-guide@lists.fedorahosted.org">scap-security-guide@lists.fedorahosted.org</a><br>
<a href="https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide" target="_blank">https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide</a><br>
<br></blockquote></div><br></div>