<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
After much trial and error, I found my error. Or I think what the
problem was. In:<br>
<br>
/etc/sysconfig/selinux<br>
<br>
I was careless changing:<br>
<br>
SELINUXTYPE=targeted<br>
<br>
to<br>
<br>
SELINUXTYPE=enforcing<br>
<br>
Oops.<br>
<br>
Perhaps the wiki can make it clear that what you are to change is:<br>
<br>
SELINUX=permissive<br>
<br>
to enforcing...<br>
<br>
thank you<br>
<br>
On to the next step!<br>
<br>
<div class="moz-cite-prefix">On 12/23/2016 09:58 AM, Fabian Arrotin
wrote:<br>
</div>
<blockquote
cite="mid:c17a3084-92d9-cfd1-8b6f-c88c093f7738@centos.org"
type="cite">
<pre wrap="">On 23/12/16 02:49, Robert Moskowitz wrote:
</pre>
<blockquote type="cite">
<pre wrap="">This is on a Cubieboard2 with the OS on a sata HD:
I followed the instructions on the wiki
vi /etc/sysconfig/selinux <- change from "permissive" to "enforcing"
vi /boot/extlinux/extlinux.conf <- change the "enforce=0" to "enforce=1"
touch /.autorelabel
I then rebooted and the following appears on the console log:
[ OK ] Reached target Switch Root.
Starting Switch Root...
[ 10.682159] systemd-journald[129]: Received SIGTERM from PID 1
(systemd).
[ 11.306507] systemd[1]: Failed to load SELinux policy.
[!!!!!!] Failed to load SELinux policy, freezing.
Note that /boot is sda1 and / is sda3
I am awaiting guidance.
thank you
</pre>
</blockquote>
<pre wrap="">
Hmm, the way I do it is :
- ensure enforce=1 in extlinux.conf (but keep /etc/sysconfig/selinux to
permissive)
- touch /.autorelabel && systemc reboot
Than wait and when it's finally online, "setenforce 1" and then
/etc/sysconfig/selinux to enforcing
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Arm-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a>
<a class="moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/arm-dev">https://lists.centos.org/mailman/listinfo/arm-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>