<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Looks like you have a labeling issue.<br>
<br>
touch /.autorelabel; reboot<br>
<br>
Should fix the issues.<br>
<br>
<br>
<div class="moz-cite-prefix">On 08/18/2015 04:53 AM, Srinivasa Rao
Ragolu wrote:<br>
</div>
<blockquote
cite="mid:CAH4+OFrTTB2zo16VVH2SSR84JsgVt003J4YjGFxi1c+gDVwA=A@mail.gmail.com"
type="cite">
<div dir="ltr">Hi All,
<div><br>
</div>
<div>I have very new to selinux. Today I have ported selinux to
my embedded platform with targeted policy+enforcing.</div>
<div><br>
</div>
<div>When I try to boot, it completes labeling filesystem. But I
could not able to login using root.. See my error log...</div>
<div><br>
</div>
<div>
<div><i><b>arm-cortex-a15 login: root</b></i></div>
<div><i><b>Last login: Tue Aug 18 11:36:58 UTC 2015 on console</b></i></div>
<div><i><b>Would you like to enter a security context? [N] Y</b></i></div>
<div><i><b>role: unconfined_r</b></i></div>
<div><i><b>level: s0</b></i></div>
<div><i><b>[ 1252.885468] type=1400 audit(1439898856.140:13):
avc: denied { transition } for pid=1120 comm="login"
path="/bin/bash" dev="mmcblk0" ino=58115
scontext=system_u:system_r:init_t:s0
tcontext=unconfined_u:unconfined_r:unconfined_t:s0
tclass=process</b></i></div>
<div><i><b>[ 1252.887219] type=1400 audit(1439898856.140:14):
avc: denied { transition } for pid=1120 comm="login"
path="/bin/bash" dev="mmcblk0" ino=58115
scontext=system_u:system_r:init_t:s0
tcontext=unconfined_u:unconfined_r:unconfined_t:s0
tclass=process</b></i></div>
<div><i><b>Cannot execute /bin/sh: Permission denied</b></i></div>
<div><i><b><br>
</b></i></div>
<div><i><b>MontaVista Carrier Grade Linux 7.0.0 arm-cortex-a15
/dev/console</b></i></div>
<div><i><b><br>
</b></i></div>
<div><i><b>arm-cortex-a15 login:</b></i></div>
</div>
<div><i><b><br>
</b></i></div>
<div>Please help me.. How can I solve this issue and achieve
normal boot.</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Srinivas.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
selinux mailing list
<a class="moz-txt-link-abbreviated" href="mailto:selinux@lists.fedoraproject.org">selinux@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/selinux">https://admin.fedoraproject.org/mailman/listinfo/selinux</a></pre>
</blockquote>
<br>
</body>
</html>