<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:新細明體;
        panose-1:2 2 3 0 0 0 0 0 0 0;}
@font-face
        {font-family:"MS Gothic";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
        {font-family:"Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"\@新細明體";
        panose-1:2 2 3 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Book Antiqua";
        panose-1:2 4 6 2 5 3 5 3 3 4;}
@font-face
        {font-family:"\@Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"\@MS Gothic";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.MsoBodyText, li.MsoBodyText, div.MsoBodyText
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:新細明體;}
p.MsoSalutation, li.MsoSalutation, div.MsoSalutation
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:新細明體;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
p.SubjectLine, li.SubjectLine, div.SubjectLine
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:新細明體;}
 /* Page Definitions */
 @page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        layout-grid:18.0pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:163595468;
        mso-list-type:hybrid;
        mso-list-template-ids:-2072480916 -1229965480 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:42.0pt;
        mso-level-number-position:left;
        margin-left:42.0pt;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>

</head>

<body lang=ZH-TW link=blue vlink=purple style='text-justify-trim:punctuation'>

<div class=Section1 style='layout-grid:18.0pt'>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>Dear all:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>           I’ve
downloaded refpolicy source from tresys’s website and tried to install it on my
FC5 box. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>           However,
there’re some problems I’m not able to fix it so far. According to online
documents, I first setenforce 0.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>           In
build.conf I enabled DISTRO=redhat, then make install-src under
/etc/selinux/refpolicy<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-indent:24.0pt'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>make conf; make policy;
make install; make load under /etc/selinux/refpolicy/src/policy<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:42.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><font
size=1 face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial'><span
style='mso-list:Ignore'>1.<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>       </span></font></span></span></font><![endif]><font
size=1 face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial'>While
executing make load, it replied that policy file argument policy.20 is no
longer supported, The next line showed “continue…”<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:42.0pt'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>I was so confused here
that it looked like refpolicy is not loaded yet. So how do I feed it a “supported
policy file”?<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:42.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><font
size=1 face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial'><span
style='mso-list:Ignore'>2.<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>       </span></font></span></span></font><![endif]><font
size=1 face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial'>Besides,
is there any way I can check if the policy is loaded? My guess is sestatus.<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:42.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><font
size=1 face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial'><span
style='mso-list:Ignore'>3.<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>       </span></font></span></span></font><![endif]><font
size=1 face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial'>If
I neglected the “loading-policy-thing” and make relabel directly, then I’ll got
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>Relabeling filesystem types: ext2 ext3 xfs jfs<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>/usr/sbin/setfiles
/etc/selinux/refpolicy/contexts/files/file_contexts / /boot<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>/etc/selinux/refpolicy/contexts/files/file_contexts: 
line 79 has invalid context system_u:object_r:quota_db_t<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>/etc/selinux/refpolicy/contexts/files/file_contexts: 
line 121 has invalid context system_u:object_r:svc_svc_t<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>/etc/selinux/refpolicy/contexts/files/file_contexts: 
line 139 has invalid context system_u:object_r:ipsec_exec_t<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>/etc/selinux/refpolicy/contexts/files/file_contexts: 
line 147 has invalid context system_u:object_r:ipsec_exec_t<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>/etc/selinux/refpolicy/contexts/files/file_contexts: 
line 153 has invalid context system_u:object_r:ipsec_exec_t<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>/etc/selinux/refpolicy/contexts/files/file_contexts: 
line 189 has invalid context system_u:object_r:ipsec_mgmt_exec_t<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>/etc/selinux/refpolicy/contexts/files/file_contexts: 
line 213 has invalid context system_u:object_r:ipsec_mgmt_exec_t<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>/etc/selinux/refpolicy/contexts/files/file_contexts: 
line 214 has invalid context system_u:object_r:ipsec_exec_t<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>/etc/selinux/refpolicy/contexts/files/file_contexts: 
line 245 has invalid context system_u:object_r:portage_exec_t<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>Exiting after 10 errors.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>make: *** [relabel] Error 1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>           Though,
I believe this error comes after the unmatched running policy.<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:24.0pt'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>Please give me some instructions
to fix up problems listed above. Thank you guys </span></font><font size=1
face=Wingdings><span lang=EN-US style='font-size:9.0pt;font-family:Wingdings'>J</span></font><font
size=1 face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoSalutation style='line-height:20.0pt'><strong><b><font size=4
face="Book Antiqua"><span lang=EN-US style='font-size:14.0pt;font-family:"Book Antiqua"'>Best
Regards,</span></font></b></strong><font size=4 face="Book Antiqua"><span
lang=EN-US style='font-size:14.0pt;font-family:"Book Antiqua"'><o:p></o:p></span></font></p>

<p class=SubjectLine style='line-height:20.0pt'><U1:PERSONNAME u2:st="on"><strong><b><font
size=4 face="Book Antiqua"><span lang=EN-US style='font-size:14.0pt;font-family:
"Book Antiqua"'>Benjamin Tsai</span></font></b></strong></U1:PERSONNAME><b><font
size=4 face="Book Antiqua"><span lang=EN-US style='font-size:14.0pt;font-family:
"Book Antiqua";font-weight:bold'><o:p></o:p></span></font></b></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

</div>

</body>

</html>