<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Selinux on Chris Irwin</title>
    <link>/tags/selinux/</link>
    <description>Recent content in Selinux on Chris Irwin</description>
    <generator>Hugo -- 0.147.7</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 10 Mar 2020 23:06:27 -0400</lastBuildDate>
    <atom:link href="/tags/selinux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Sharing Host Files With KVM</title>
      <link>/posts/sharing-host-files-with-kvm/</link>
      <pubDate>Tue, 10 Mar 2020 23:06:27 -0400</pubDate>
      <guid>/posts/sharing-host-files-with-kvm/</guid>
      <description>Adventures with sharing host files with a KVM VM using 9p and libvirt with SELinux.</description>
    </item>
    <item>
      <title>Snapperd on Fedora with SELinux enabled</title>
      <link>/posts/snapperd_with_selinux/</link>
      <pubDate>Wed, 14 Sep 2016 21:46:01 +0000</pubDate>
      <guid>/posts/snapperd_with_selinux/</guid>
      <description>&lt;p&gt;Snapper is an excellent utility that provides hourly snapshots of btrfs subvolumes.&lt;/p&gt;
&lt;p&gt;Fedora ships with selinux enabled by default. This is excellent, and shouldn&amp;rsquo;t be disabled. To allow this, most software in Fedora has appropriate rules defined, including snapper.&lt;/p&gt;
&lt;p&gt;However, snappers rules only allow it to work on / and /home. If you wish to use it to snapshot /mnt/data, or /srv, or any other particular path, you&amp;rsquo;re going to have a &lt;strong&gt;very&lt;/strong&gt; bad time.&lt;/p&gt;</description>
    </item>
    <item>
      <title>SELinux and apache (httpd)</title>
      <link>/posts/selinux-and-apache-httpd/</link>
      <pubDate>Thu, 15 Jan 2015 03:54:27 +0000</pubDate>
      <guid>/posts/selinux-and-apache-httpd/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve just built a new web server vm, basically identical to my &lt;a href=&#34;/posts/selinux-and-mariadb-mysql&#34;&gt;mariadb one&lt;/a&gt;, and the &lt;a href=&#34;/posts/fedora-cloud-for-mere-mortals&#34;&gt;fedora cloud image&lt;/a&gt;. This is documentation on how I configured it, as well as the ttrss update daemon.&lt;/p&gt;
&lt;p&gt;To get nfs to work, install &lt;code&gt;nfs-utils&lt;/code&gt;. I need some packages also for ttrss.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ yum install nfs-utils httpd php php-mysql php-mbstring php-xml
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I&amp;rsquo;m putting the web root on an nfs mount from my nas. I have multiple virtualhosts.&lt;/p&gt;</description>
    </item>
    <item>
      <title>SELinux and mariadb (mysql)</title>
      <link>/posts/selinux-and-mariadb-mysql/</link>
      <pubDate>Thu, 15 Jan 2015 03:28:41 +0000</pubDate>
      <guid>/posts/selinux-and-mariadb-mysql/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve just built a new mysql server vm, using the instructions I &lt;a href=&#34;/posts/fedora-cloud-for-mere-mortals&#34;&gt;posted previously&lt;/a&gt;. This is documentation on how I configured it.&lt;/p&gt;
&lt;p&gt;To get nfs to work, install &lt;code&gt;nfs-utils&lt;/code&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ yum install nfs-utils httpd mariadb mariadb-server
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I&amp;rsquo;m putting the database on an nfs mount from my nas. Socket files can&amp;rsquo;t exist on nfs. It&amp;rsquo;s easier to move the data than the socket file (I think I hit an selinux issue with socket access).&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
