Research Menu

.
Skip Search Box

SELinux Mailing List

load_policy

From: Justin Mattock <justinmattock_at_gmail.com>
Date: Mon, 17 Dec 2007 08:27:42 -0800


Hello I am new to selinux and seem to be at a road block. If anybody has any info on my situation it would be appreciative. The problem I have is the policy isn't loading at boot time. putting load_policy in /etc/rc.local gives me a please choose a security context; when choosing sysadm_r sysadm_t response is invalid security context. Then looking into init I see this
ldd /sbin/init

     linux-gate.so.1 => (oxffffe000)
     libc.so.6 => /lib/libc.so.6 (0xb7e73000)         <----no
/lib/libselinux.so.1 (how to add libselinux to init?)
     /lib/ld-linux.so.2 (0xb7fca000)

could this be why selinux_init_load_policy doesnt work? any info would be helpful.
regards;

             --Justin P. Mattock

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
Received on Mon 17 Dec 2007 - 11:27:50 EST
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service