On 04/01/2014 08:42 AM, Daniel J Walsh wrote: >> But, selinux_complete_init function of security/selinux/hook.c is not >> called. >> >> And if i run “ls -Z“ command, security context is not printed. >> >> $ ls -Z >> >> ? apparmor ? capability.c >> >> >> >> selinux_init function is called. but selinux_complete_init function is >> not called and security context is not printed. >> >> >> >> *what should i try ? please help me.* You need to load a policy into the kernel. Normally this is done by the init program. Was your init program built with SELinux support enabled? And do you have a policy file in the expected location? Look for output from init as well to help debug.