<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Yes, these are all installed.  Plus I add policycoreutils-python for
    semanage to change policies like for changing the ssh port number.<br>
    <br>
    <div class="moz-cite-prefix">On 02/03/2017 08:50 AM, Gordan Bobic
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAMx4oe3eM+DMZgp6EDLMFbAqoBjjD2i1iZ0pGXiEAk2qMgF-kw@mail.gmail.com"
      type="cite">
      <div dir="ltr">I'm pretty sure I have SELinux enabled on my
        Chromebook 2 running RSEL7. I don't recall having done anything
        special, it works by default. I run that on ZoL ZFS root, and it
        just worked after relabelling the file system (I migrated from
        zfs-fuse, and fuse confuses SELinux rules because it ends up
        labelling everything as fuse instead of the appropriate labels
        for the paths. I cannot imagine CentOS 7 would be any different.
        You just need to make sure you have policycoreutils,
        selinux-policy and selinux-policy-targeted installed, and make
        sure /etc/selinux/config has SELINUXTYPE=targeted set.<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Feb 2, 2017 at 9:55 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>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">It seems
            that the SELinux problem is 'built into' the Cubietruck
            image.<br>
            <br>
            All I did was put the image on a HD, expand the partitions,
            boot up (uboot on the mSD card)<br>
            <br>
            in    /boot/extlinux/extlinux.conf : change the
            "enforcing=0" to "enforcing=1"<br>
            <br>
            touch /.autorelabel<br>
            reboot<br>
            <br>
            On the console I saw the following messages:<br>
            <br>
            [   14.709227] SELinux:  Class binder not defined in policy.<br>
            [   14.714741] SELinux: the above unknown classes and
            permissions will be allowed<br>
            [   14.778268] audit: type=1403 audit(14.745:2): policy
            loaded auid=4294967295 ses=4294967295<br>
            [   14.813736] systemd[1]: Successfully loaded SELinux
            policy in 785.600ms.<br>
            [   15.294034] systemd[1]: Relabelled /dev and /run in
            295.320ms.<br>
            <br>
            In the past, I did the relabeling after the 'yum update'. 
            This seems to show that SELinux is unhappy from the get go. 
            I will continue in permissive mode with loading up my DNS
            setup without using chroot and see how the setup works. 
            This is my internal DNS that has no external access, so for
            now I will run a bit open...<br>
            <br>
            On 02/02/2017 10:50 AM, Robert Moskowitz wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              I am ready for my next test, to try out named on a
              Cubieboard2.<br>
              <br>
              I want to run named with SELinux and not chroot named, and
              with the problems I have had so far with SELinux and HTTPD
              that no one has commented on what to do to fix the
              problem, I was interested to first check out for any
              experience with named.<br>
              <br>
              I could always run named chrooted without enabling
              SELinux.  That is how I am running right now with RSEL6
              (which does not have SELinux working).  But I would rather
              get back to using SELinux and not chroot, as I had for
              years on Intel Centos.<br>
              <br>
              I have not seen any posts on updates to the Centos7-armv7
              rpms, so I am assuming that there has not been any fixes
              to my SELinux problems.<br>
              <br>
              So anyone out there running named?<br>
              <br>
              thanks<br>
              <br>
              <br>
              ______________________________<wbr>_________________<br>
              Arm-dev mailing list<br>
              <a moz-do-not-send="true" href="mailto:Arm-dev@centos.org"
                target="_blank">Arm-dev@centos.org</a><br>
              <a moz-do-not-send="true"
                href="https://lists.centos.org/mailman/listinfo/arm-dev"
                rel="noreferrer" target="_blank">https://lists.centos.org/mailm<wbr>an/listinfo/arm-dev</a><br>
              <br>
            </blockquote>
            <br>
            ______________________________<wbr>_________________<br>
            Arm-dev mailing list<br>
            <a moz-do-not-send="true" href="mailto:Arm-dev@centos.org"
              target="_blank">Arm-dev@centos.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.centos.org/mailman/listinfo/arm-dev"
              rel="noreferrer" target="_blank">https://lists.centos.org/mailm<wbr>an/listinfo/arm-dev</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Arm-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a>
<a class="moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/arm-dev">https://lists.centos.org/mailman/listinfo/arm-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>