<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Will be glad to do whatever is deemed desired; (that was there
    before I took the reins on it and I wondered the same thing myself)<br>
    <br>
    As you noted, I added the /etc/yum.repos.d info for obvious
    reasons.  We might wanna let the original author comment, so we can
    get a feel for what/why/how.  Otherwise, I'll make the change if we
    don't meet resistance.<br>
    <br>
    Keep in mind, I don't own most of this; my efforts have been in the
    tagging, and generation of **some** of the ocil check text.  Nothing
    more.<br>
    <br>
    Thanks,<br>
    <br>
    MM<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 09/30/2012 01:24 PM, Shawn Wells
      wrote:<br>
    </div>
    <blockquote cite="mid:5068805F.4070404@redhat.com" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <div class="moz-cite-prefix">On 9/30/12 12:33 AM, Michael J.
        McConachie wrote:<br>
      </div>
      <blockquote
        cite="mid:20120930043301.GA5514@mobile.dude.localdomain"
        type="cite"><br>
        <fieldset class="mimeAttachmentHeader"><legend
            class="mimeAttachmentHeaderName">0001-Test-Tags-for-input-system-software-updating.xml.patch</legend></fieldset>
        <br>
        <div class="moz-text-plain" wrap="true" graphical-quote="true"
          style="font-family: -moz-fixed; font-size: 12px;"
          lang="x-western">
          <pre wrap="">From ebc068bd50d3761e36ad66649e53c3dc48b29d8e Mon Sep 17 00:00:00 2001
From: Michael McConachie <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:michael@redhat.com">&lt;michael@redhat.com&gt;</a>
Date: Fri, 28 Sep 2012 22:50:52 -0400
Subject: [PATCH 1/6] Test Tags for input/system/software/updating.xml

---
 RHEL6/input/system/software/updating.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/RHEL6/input/system/software/updating.xml b/RHEL6/input/system/software/updating.xml
index ac9e590..1cbaae2 100644
--- a/RHEL6/input/system/software/updating.xml
+++ b/RHEL6/input/system/software/updating.xml
@@ -56,8 +56,8 @@ the &lt;tt&gt;[main]&lt;/tt&gt; section:
 &lt;/description&gt;
 &lt;ocil clause="GPG checking isn't enabled"&gt;
 To determine whether &lt;tt&gt;yum&lt;/tt&gt; is configured to use &lt;tt&gt;gpgcheck&lt;/tt&gt;,
-inspect &lt;tt&gt;/etc/yum.conf&lt;/tt&gt; and ensure that the following appears in the
-&lt;tt&gt;[main]&lt;/tt&gt; section:
+inspect &lt;tt&gt;<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>etc/yum.conf&lt;/tt&gt; and &lt;tt&gt;/etc/yum.repos.d<span class="moz-txt-tag">/</span></i>(reponame).repo&lt;/tt&gt;
+to ensure that the following appears in the &lt;tt&gt;[main]&lt;/tt&gt; section:
 &lt;pre&gt;gpgcheck=1&lt;/pre&gt;
 A value of &lt;tt&gt;1&lt;/tt&gt; indicates that &lt;tt&gt;gpgcheck&lt;/tt&gt; is enabled. Absence of a
 &lt;tt&gt;gpgcheck&lt;/tt&gt; line or a setting of &lt;tt&gt;0&lt;/tt&gt; indicates that it is
<div class="moz-txt-sig">-- 
1.7.11.4

</div></pre>
        </div>
      </blockquote>
      Ack to the validity of checking both /etc/yum.conf and
      /etc/yum.repos.d/*<br>
      <br>
      In review, is there a reason why we should have both of the
      following rules?<br>
      "
      <meta charset="utf-8">
      <meta charset="utf-8">
      <span style="color: rgb(0, 0, 0); font-family: Times; font-size:
        medium; font-style: normal; font-variant: normal; font-weight:
        normal; letter-spacing: normal; line-height: normal; orphans: 2;
        text-align: start; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
        display: inline !important; float: none; ">Ensure gpgcheck
        Enabled In Main Yum Configuration</span>" and<br>
      "
      <meta charset="utf-8">
      <span style="color: rgb(0, 0, 0); font-family: Times; font-size:
        medium; font-style: normal; font-variant: normal; font-weight:
        normal; letter-spacing: normal; line-height: normal; orphans: 2;
        text-align: start; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
        display: inline !important; float: none; ">Ensure gpgcheck
        Enabled For All Yum Package Repositories</span>"<br>
      <br>
      Seems to make sense to combine the two into a single rule, likely
      using the &lt;description&gt;, &lt;ocil&gt; and &lt;rationale&gt;
      from "
      <meta charset="utf-8">
      <span style="color: rgb(0, 0, 0); font-family: Times; font-size:
        medium; font-style: normal; font-variant: normal; font-weight:
        normal; letter-spacing: normal; line-height: normal; orphans: 2;
        text-align: start; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
        display: inline !important; float: none; ">Ensure gpgcheck
        Enabled In Main Yum Configuration</span>" but the &lt;title&gt;
      from "
      <meta charset="utf-8">
      <span style="color: rgb(0, 0, 0); font-family: Times; font-size:
        medium; font-style: normal; font-variant: normal; font-weight:
        normal; letter-spacing: normal; line-height: normal; orphans: 2;
        text-align: start; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
        display: inline !important; float: none; ">Ensure gpgcheck
        Enabled For All Yum Package Repositories</span>"<br>
      <br>
      Mike, could you knock that out? (unless you or someone else see
      validity in having a "check all repos" and then another rule
      checking a specific one. Seems redundant. <br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
scap-security-guide mailing list
<a class="moz-txt-link-abbreviated" href="mailto:scap-security-guide@lists.fedorahosted.org">scap-security-guide@lists.fedorahosted.org</a>
<a class="moz-txt-link-freetext" href="https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide">https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>