<?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>RHCSE on Kenno&#39;s Open Note</title>
    <link>https://blog.khmersite.net/tags/rhcse/</link>
    <description>Recent content in RHCSE on Kenno&#39;s Open Note</description>
    <image>
      <title>Kenno&#39;s Open Note</title>
      <url>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.154.0</generator>
    <language>en</language>
    <lastBuildDate>Sun, 26 Aug 2018 23:21:33 +0000</lastBuildDate>
    <atom:link href="https://blog.khmersite.net/tags/rhcse/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to Generate SELinux Policy Manual Page</title>
      <link>https://blog.khmersite.net/p/how-to-generate-selinux-policy-manual-page/</link>
      <pubDate>Sun, 26 Aug 2018 23:21:33 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/how-to-generate-selinux-policy-manual-page/</guid>
      <description>&lt;p&gt;It seems that by default, SELinux policy manpage is not available. Here’s how to make it available.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;First install &lt;code&gt;selinux-policy-devel&lt;/code&gt; package&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Then generate the man page by running:&lt;br&gt;
&lt;code&gt;# sepolicy manpage -a -p /usr/share/man/man8&amp;lt;br/&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;code&gt;-a&lt;/code&gt;  : all domains&lt;br&gt;
&lt;code&gt;-p&lt;/code&gt; : path to store the manpage (by default it’s /tmp)&lt;br&gt;
&lt;code&gt;/usr/share/man/man8&lt;/code&gt; – section 8 of manpage is for system admin command&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create or update manual page index caches&lt;br&gt;
&lt;code&gt;# mandb&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Benefit&lt;br&gt;
&lt;code&gt;# man -k _selinux&lt;/code&gt; (or e.g. ”&lt;code&gt;man httpd_selinux&lt;/code&gt;“)&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
