<html>
<head>
<meta content="text/html; charset=windows-1251"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 12/23/2016 12:25 PM, Gordan Bobic
wrote:<br>
</div>
<blockquote
cite="mid:CAMx4oe1GbR15nhwnJR3jona+W3Xey-iuauzsDvsYUzjuKuhhRA@mail.gmail.com"
type="cite">
<div dir="ltr">Pass "selinux=0" option to the kernel at boot time.
That will completely disable selinux and let you boot up.<br>
</div>
</blockquote>
<br>
That gets the system running, but does not get me selinux enabled.<br>
<br>
Oh, I also changed enforcing=0 in the options.<br>
<br>
<blockquote
cite="mid:CAMx4oe1GbR15nhwnJR3jona+W3Xey-iuauzsDvsYUzjuKuhhRA@mail.gmail.com"
type="cite">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Dec 23, 2016 at 3:54 PM, Robert
Moskowitz <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:rgm@htt-consult.com" target="_blank">rgm@htt-consult.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On 12/23/2016 10:14 AM, Robert Moskowitz wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On 12/23/2016 09:58 AM, Fabian Arrotin wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
On 23/12/16 02:49, Robert Moskowitz wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
This is on a Cubieboard2 with the OS on a sata HD:<br>
<br>
I followed the instructions on the wiki<br>
<br>
vi /etc/sysconfig/selinux <- change from
"permissive" to "enforcing"<br>
vi /boot/extlinux/extlinux.conf <- change the
"enforce=0" to "enforce=1"<br>
touch /.autorelabel<br>
<br>
I then rebooted and the following appears on the
console log:<br>
<br>
[ OK ] Reached target Switch Root.<br>
Starting Switch Root...<br>
[ 10.682159] systemd-journald[129]: Received SIGTERM
from PID 1<br>
(systemd).<br>
[ 11.306507] systemd[1]: Failed to load SELinux
policy.<br>
[!!!!!!] Failed to load SELinux policy, freezing.<br>
<br>
<br>
Note that /boot is sda1 and / is sda3<br>
<br>
I am awaiting guidance.<br>
<br>
thank you<br>
<br>
</blockquote>
Hmm, the way I do it is :<br>
- ensure enforce=1 in extlinux.conf (but keep
/etc/sysconfig/selinux to<br>
permissive)<br>
- touch /.autorelabel && systemc reboot<br>
<br>
Than wait and when it's finally online, "setenforce 1"
and then<br>
/etc/sysconfig/selinux to enforcing<br>
</blockquote>
<br>
Then, perhaps you need to adjust the wiki.<br>
<br>
I will change things back and retry.<br>
</blockquote>
<br>
Looks like just switching back to permissive and enforce=0
does not set everything back.<br>
<br>
[ OK ] Started Tell Plymouth To Write Out Runtime Data.<br>
[FAILED] Failed to start Import network configuration from
initramfs.<br>
See 'systemctl status rhel-import-state.service' for
details.<br>
<br>
<br>
*** Warning -- SELinux permissive policy relabel is
required.<br>
*** Relabeling could take a very long time, depending on
file<br>
*** system size and speed of hard drives.<br>
Error getting authority: Error initializing authority: Could
not connect: No suc<br>
h file or directory (g-io-error-quark, 1)<br>
[ 24.400218] systemd-shutdown[1]: Sending SIGTERM to
remaining processes...<br>
<br>
.<br>
.<br>
.<br>
[ OK ] Started NTP client/server.<br>
[FAILED] Failed to start Login Service.<br>
See 'systemctl status systemd-logind.service' for details.<br>
[FAILED] Failed to start firewalld - dynamic firewall
daemon.<br>
See 'systemctl status firewalld.service' for details.<br>
<br>
<br>
Looks like back to rebuild HD from image and go forward
again. Try your steps and check Gordons packages are
installed....<br>
<br>
Bob<br>
<br>
______________________________<wbr>_________________<br>
Arm-dev mailing list<br>
<a moz-do-not-send="true" href="mailto:Arm-dev@centos.org"
target="_blank">Arm-dev@centos.org</a><br>
<a moz-do-not-send="true"
href="https://lists.centos.org/mailman/listinfo/arm-dev"
rel="noreferrer" target="_blank">https://lists.centos.org/mailm<wbr>an/listinfo/arm-dev</a><br>
</blockquote>
</div>
<br>
</div>
<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>