<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div>hi,fabian deutsch:</div><div>i have 2 tips.</div><div>1.run sestatus,&nbsp; check the mount point of "SELinuxfs mount", in most case it is /selinux, not "/sys/fs/selinux".</div><div>2.install audit-2.2-2.el6.x86_64</div><div>3.i do not know where to find <font size="2" face="Courier New">ovirt.te. it seems passwd_file_t never been defined.</font></div><p><font size="2" face="Courier New"></font>&nbsp;</p><p><font size="2" face="Courier New">thanks</font></p><div><br><br></div><div></div><div id="divNeteaseMailCard"></div><div></div><pre><br>At&nbsp;2013-04-16&nbsp;02:24:35,"Fabian&nbsp;Deutsch"&nbsp;&lt;fabiand@redhat.com&gt;&nbsp;wrote:
&gt;Hey,
&gt;
&gt;for&nbsp;some&nbsp;time&nbsp;now&nbsp;we&nbsp;-&nbsp;the&nbsp;ovirt-node-iso&nbsp;builds&nbsp;-&nbsp;are&nbsp;seeing&nbsp;some
&gt;selinux&nbsp;related&nbsp;build&nbsp;problems.&nbsp;They&nbsp;look&nbsp;similar&nbsp;to&nbsp;[1]:
&gt;
&gt;ERROR:&nbsp;policydb&nbsp;magic&nbsp;number&nbsp;0x000008&nbsp;does&nbsp;not&nbsp;match&nbsp;expected&nbsp;magic
&gt;number&nbsp;0xf97cff8c&nbsp;or&nbsp;0xf97cff8d
&gt;ERROR:&nbsp;Unable&nbsp;to&nbsp;open&nbsp;policy&nbsp;/sys/fs/selinux/policy.
&gt;Traceback&nbsp;(most&nbsp;recent&nbsp;call&nbsp;last):
&gt;&nbsp;&nbsp;File&nbsp;"/sbin/semanage",&nbsp;line&nbsp;25,&nbsp;in&nbsp;&lt;module&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;import&nbsp;seobject
&gt;&nbsp;&nbsp;File&nbsp;"/usr/lib64/python2.7/site-packages/seobject.py",&nbsp;line&nbsp;27,&nbsp;in&nbsp;&lt;module&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;import&nbsp;sepolicy
&gt;&nbsp;&nbsp;File&nbsp;"/usr/lib64/python2.7/site-packages/sepolicy/__init__.py",&nbsp;line&nbsp;65,&nbsp;in&nbsp;&lt;module&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;raise&nbsp;e
&gt;ValueError:&nbsp;Failed&nbsp;to&nbsp;read&nbsp;/sys/fs/selinux/policy&nbsp;policy&nbsp;file
&gt;
&gt;A&nbsp;first&nbsp;guess&nbsp;was&nbsp;that&nbsp;the&nbsp;policydb&nbsp;of&nbsp;the&nbsp;host&nbsp;didn't&nbsp;match&nbsp;the
&gt;policydb&nbsp;beeing&nbsp;used&nbsp;in&nbsp;the&nbsp;livecd&nbsp;image.&nbsp;But&nbsp;it&nbsp;seems&nbsp;as&nbsp;if&nbsp;this&nbsp;is&nbsp;not
&gt;the&nbsp;case,&nbsp;as&nbsp;the&nbsp;problems&nbsp;still&nbsp;occur.
&gt;I'm&nbsp;no&nbsp;selinux&nbsp;expert&nbsp;but&nbsp;maybe&nbsp;bug&nbsp;#817485&nbsp;(RHBz)&nbsp;contains&nbsp;a&nbsp;fix&nbsp;for
&gt;this&nbsp;and&nbsp;I'd&nbsp;like&nbsp;to&nbsp;try&nbsp;this.
&gt;The&nbsp;following&nbsp;two&nbsp;packages&nbsp;must&nbsp;be&nbsp;installed&nbsp;and&nbsp;be&nbsp;updated&nbsp;to&nbsp;the&nbsp;most
&gt;recent&nbsp;version:
&gt;
&gt;yum&nbsp;-y&nbsp;update&nbsp;setools-console&nbsp;setools-libs-python
&gt;
&gt;Could&nbsp;someone&nbsp;install&nbsp;and/or&nbsp;check&nbsp;if&nbsp;they&nbsp;are&nbsp;updated&nbsp;to&nbsp;the&nbsp;latest
&gt;versions&nbsp;on&nbsp;our&nbsp;two&nbsp;F18&nbsp;builders?
&gt;
&gt;Thanks
&gt;fabian
&gt;
&gt;--
&gt;[1]
&gt;http://jenkins.ovirt.org/view/ovirt_node/job/ovirt-node-iso-devel/2015/consoleFull
&gt;[2]&nbsp;https://bugzilla.redhat.com/show_bug.cgi?id=817485
&gt;
&gt;_______________________________________________
&gt;Infra&nbsp;mailing&nbsp;list
&gt;Infra@ovirt.org
&gt;http://lists.ovirt.org/mailman/listinfo/infra
</pre></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>