<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 02/03/2017 09:05 AM, Gordan Bobic
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAMx4oe0d9yJz4LFFytzFQMS5exMauUjwe9dUAkhvBxnG-ptY8w@mail.gmail.com"
      type="cite">
      <div dir="ltr">On Fri, Feb 3, 2017 at 1:58 PM, Robert Moskowitz <span
          dir="ltr"><<a moz-do-not-send="true"
            href="mailto:rgm@htt-consult.com" target="_blank">rgm@htt-consult.com</a>></span>
        wrote:<br>
        <div class="gmail_quote">
          <div dir="ltr">
            <div class="gmail_extra">
              <div class="gmail_quote">
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div bgcolor="#FFFFFF" text="#000000"> Gordon,<br>
                    <br>
                    One would think that, but there is something off
                    with at least the CubieTruck build.  I will check
                    that all those rpms are installed (pretty sure they
                    are), but when I set up a web server with personal
                    directories, i got permission errors on listing the
                    files, but no problem displaying individual files. 
                    Plus there are all these SELinux warnings I am
                    getting that seem to indicate something is amiss.<br>
                    <br>
                    I am reaching the point of focusing on Fedora server
                    for now.  I had hopes of pushing Centos7-arm in a
                    couple of business venues.<br>
                  </div>
                </blockquote>
                <div><br>
                  <br>
                  <br>
                </div>
                <div>Are you certain it is an SELinux problem, and if
                  so, are parent directory labels correct?<br>
                  The symptoms you are describing seem more typically
                  indicative of an Apache configuration problem.<br>
                  Do tail -f on /var/log/audit/audit.log and see what
                  appears there. If there is a SELinux violation, it
                  will show up in there.<br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    I will switch drives back to the http drive, from my current dns
    setup work to try that.<br>
    <br>
    Meanwhile, on this new drive I just tested to insure that the
    selinux-policy and -targeted were installed.  Seems that there is an
    update (I have not run yum update on this install test yet) and got
    the following.  You can see that there is something wrong in SELinux
    land.  What is "Class binder not defined in policy." and why is it
    not defined:<br>
    <br>
    # yum install selinux-policy selinux-policy-targeted<br>
    Loaded plugins: fastestmirror<br>
    base                                                     | 3.6
    kB     00:00     <br>
    centos-kernel                                            | 2.9
    kB     00:00     <br>
    extras                                                   | 2.9
    kB     00:00     <br>
    updates                                                  | 2.9
    kB     00:00     <br>
    Loading mirror speeds from cached hostfile<br>
    Resolving Dependencies<br>
    --> Running transaction check<br>
    ---> Package selinux-policy.noarch 0:3.13.1-102.el7 will be
    updated<br>
    ---> Package selinux-policy.noarch 0:3.13.1-102.el7.7 will be an
    update<br>
    ---> Package selinux-policy-targeted.noarch 0:3.13.1-102.el7 will
    be updated<br>
    ---> Package selinux-policy-targeted.noarch 0:3.13.1-102.el7.7
    will be an update<br>
    --> Finished Dependency Resolution<br>
    <br>
    Dependencies Resolved<br>
    <br>
================================================================================<br>
     Package                     Arch       Version              
    Repository   Size<br>
================================================================================<br>
    Updating:<br>
     selinux-policy              noarch     3.13.1-102.el7.7     
    updates     412 k<br>
     selinux-policy-targeted     noarch     3.13.1-102.el7.7     
    updates     6.4 M<br>
    <br>
    Transaction Summary<br>
================================================================================<br>
    Upgrade  2 Packages<br>
    <br>
    Total download size: 6.8 M<br>
    Is this ok [y/d/N]: y<br>
    Downloading packages:<br>
    Delta RPMs disabled because /usr/bin/applydeltarpm not installed.<br>
    (1/2): selinux-policy-3.13.1-102.el7.7.noarch.rpm          | 412
    kB   00:06     <br>
    (2/2): selinux-policy-targeted-3.13.1-102.el7.7.noarch.rpm | 6.4
    MB   00:09     <br>
--------------------------------------------------------------------------------<br>
    Total                                              719 kB/s | 6.8
    MB  00:09     <br>
    Running transaction check<br>
    Running transaction test<br>
    Transaction test succeeded<br>
    Running transaction<br>
      Updating   :
    selinux-policy-3.13.1-102.el7.7.noarch                       1/4 <br>
      Updating   :
    selinux-policy-targeted-3.13.1-102.el7.7.noarch              2/4 <br>
    [58759.850413] SELinux:  Class binder not defined in policy.<br>
    [58759.855917] SELinux: the above unknown classes and permissions
    will be allowed<br>
      Cleanup    :
    selinux-policy-targeted-3.13.1-102.el7.noarch                3/4 <br>
      Cleanup    :
    selinux-policy-3.13.1-102.el7.noarch                         4/4 <br>
      Verifying  :
    selinux-policy-3.13.1-102.el7.7.noarch                       1/4 <br>
      Verifying  :
    selinux-policy-targeted-3.13.1-102.el7.7.noarch              2/4 <br>
      Verifying  :
    selinux-policy-targeted-3.13.1-102.el7.noarch                3/4 <br>
      Verifying  :
    selinux-policy-3.13.1-102.el7.noarch                         4/4 <br>
    <br>
    Updated:<br>
      selinux-policy.noarch
    0:3.13.1-102.el7.7                                      <br>
      selinux-policy-targeted.noarch
    0:3.13.1-102.el7.7                             <br>
    <br>
    Complete!<br>
    <br>
  </body>
</html>