<div dir="ltr">Hi Daniel,<div><br></div><div>Thanks for quick reply. Please find first time boot log with lableling and reboot.</div><div><br></div><div>Also find second time boot log when I created /.autorelablel.</div><div><br></div><div>Somehow I could not able to login as root. </div><div><br></div><div>Your help is really appriciated.</div><div><br></div><div>Thanks,</div><div>Srinivas.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 18, 2015 at 6:16 PM, Daniel J Walsh <span dir="ltr">&lt;<a href="mailto:dwalsh@redhat.com" target="_blank">dwalsh@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Looks like you have a labeling issue.<br>
    <br>
    touch /.autorelabel; reboot<br>
    <br>
    Should fix the issues.<div><div class="h5"><br>
    <br>
    <br>
    <div>On 08/18/2015 04:53 AM, Srinivasa Rao
      Ragolu wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <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=&quot;login&quot;
                path=&quot;/bin/bash&quot; dev=&quot;mmcblk0&quot; 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=&quot;login&quot;
                path=&quot;/bin/bash&quot; dev=&quot;mmcblk0&quot; 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></fieldset>
      <br>
      </div></div><span class="HOEnZb"><font color="#888888"><pre>--
selinux mailing list
<a href="mailto:selinux@lists.fedoraproject.org" target="_blank">selinux@lists.fedoraproject.org</a>
<a href="https://admin.fedoraproject.org/mailman/listinfo/selinux" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/selinux</a></pre>
    </font></span></blockquote>
    <br>
  </div>

</blockquote></div><br></div>