Re: Please help me in resolving this issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Looks like you have a labeling issue.

touch /.autorelabel; reboot

Should fix the issues.


On 08/18/2015 04:53 AM, Srinivasa Rao Ragolu wrote:
Hi All,

I have very new to selinux. Today I have ported selinux to my embedded platform with targeted policy+enforcing.

When I try to boot, it completes labeling filesystem. But I could not able to login using root.. See my error log...

arm-cortex-a15 login: root
Last login: Tue Aug 18 11:36:58 UTC 2015 on console
Would you like to enter a security context? [N]  Y
role: unconfined_r
level: s0
[ 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
[ 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
Cannot execute /bin/sh: Permission denied

MontaVista Carrier Grade Linux 7.0.0 arm-cortex-a15 /dev/console

arm-cortex-a15 login:

Please help me.. How can I solve this issue and achieve normal boot.


Thanks,
Srinivas.


--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux

--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux