<div dir="ltr">Hi,<div><br></div><div><div>~ getenforce </div><div>Enforcing</div></div><div><br></div><div>Please be aware that setenforce will only change the mode SELinux is running in. For a permanent change, you have to edit the configuration file.</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jul 20, 2015 at 4:32 PM jd1008 &lt;<a href="mailto:jd1008@gmail.com">jd1008@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On 07/20/2015 12:38 PM, Martin Cigorraga wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I created the file /.autorelabel (# touch /.autorelabel), set SELinux<br>
&gt; to &#39;enforcing&#39; and (/etc/sysconfig/selinux) and rebooted.<br>
&gt;<br>
&gt; May be I could do it without rebooting as stated in this question:<br>
&gt; <a href="https://serverfault.com/questions/453137/how-can-i-do-an-selinux-filesystem-relabel-without-rebooting-firstbut" rel="noreferrer" target="_blank">https://serverfault.com/questions/453137/how-can-i-do-an-selinux-filesystem-relabel-without-rebooting-firstbut</a><br>
&gt; before landind there I was unaware of the &#39;fixfiles&#39; tool :)<br>
&gt;<br>
&gt; HTH, let us know if not.<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Jul 20, 2015 at 3:31 PM jd1008 &lt;<a href="mailto:jd1008@gmail.com" target="_blank">jd1008@gmail.com</a><br>
&gt; &lt;mailto:<a href="mailto:jd1008@gmail.com" target="_blank">jd1008@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     On 07/20/2015 12:23 PM, Martin Cigorraga wrote:<br>
&gt;     &gt; Hello folks,<br>
&gt;     &gt;<br>
&gt;     &gt; It happened to me too that about a week or so ago SELinux<br>
&gt;     &gt; automatically turned to &#39;Permissive&#39; with an upgrade of<br>
&gt;     &gt; selinux-related packages, I had to relabel everything to get things<br>
&gt;     &gt; back to its previous state.<br>
&gt;     &gt;<br>
&gt;     &gt; Although I didn&#39;t delve in the issue at that moment I will keep<br>
&gt;     an eye<br>
&gt;     &gt; on this issue should it happens again.<br>
&gt;     &gt;<br>
&gt;     &gt; Cheers,<br>
&gt;     &gt; -Martín<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     So how did yo set it back to Enforcing?<br>
&gt;<br>
After I executed<br>
setenforce Enforcing<br>
touched /.autorelabel and rebooted,<br>
during the reboot, the labeling was taking place, and I saw<br>
3 messages, which I cannot see anywhere in /var/log.<br>
The messages included that plymouthd killed systemd<br>
and that some file or directory in /lib/modules/ had too many<br>
symlinks or some such, and the relabeling died at when it was at about 13%.<br>
<br>
--<br>
users mailing list<br>
<a href="mailto:users@lists.fedoraproject.org" target="_blank">users@lists.fedoraproject.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/users</a><br>
Fedora Code of Conduct: <a href="http://fedoraproject.org/code-of-conduct" rel="noreferrer" target="_blank">http://fedoraproject.org/code-of-conduct</a><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Mailing_list_guidelines" rel="noreferrer" target="_blank">http://fedoraproject.org/wiki/Mailing_list_guidelines</a><br>
Have a question? Ask away: <a href="http://ask.fedoraproject.org" rel="noreferrer" target="_blank">http://ask.fedoraproject.org</a><br>
</blockquote></div>