All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems loading policy
@ 2003-12-05 14:57 Stephen
  2003-12-05 18:36 ` Dale Amon
  2003-12-05 20:32 ` Information flow models John D. Ramsdell
  0 siblings, 2 replies; 18+ messages in thread
From: Stephen @ 2003-12-05 14:57 UTC (permalink / raw)
  To: SE Linux

Hi
I'm getting the follwing error when I try and load my selinux policy
load_policy /etc/security/selinux/policy.15 (or policy.12 - whats the
diference?)
security_load_policy: Function not implemented

Im using the selinux-policy-default and selinux packages from cocker.com.au.
The packages installed fine and ran make relabel etc fine
Running checkpolicy
checkpolicy:  loading policy configuration from policy.conf
security:  5 users, 5 roles, 1049 types
security:  29 classes, 119120 rules
checkpolicy:  policy configuration loaded

I have compiled my kernel with ROMFS, capabilities and SELinux. Here is my
kernel dmesg
Security Scaffold v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
There is already a security framework initialized, register_security failed.
Failure registering capabilities with the kernel
selinux_register_security:  Registering secondary module capability
Capability LSM initialized


apt-get install cramfsprogs initrd-tools genromfs

Created a /etc/mkinitrd/mkinitrd.conf file with this in it
MKIMAGE='genromfs -d %s -f %s > /dev/null'

I have created a initrd file "cd /boot ; mkinitrd -o initrd.img-2.4.22
/lib/modules/2.4.22"
In /etc/lilo.conf I have added initrd=/boot/initrd.img-2.4.22 under the
relevant image section
"mkdir /selinux" and add line to /etc/fstab
none /selinux selinuxfs defaults 0 0

But when I try and load the policy it fails
root@anskiere:/etc/selinux# make load
/usr/sbin/load_policy /etc/security/selinux/policy.12
security_load_policy: Function not implemented
make: *** [reload] Error 2

Any ideas?

Thanks
Stephen

--
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.

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2003-12-23 19:12 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-05 14:57 Problems loading policy Stephen
2003-12-05 18:36 ` Dale Amon
2003-12-05 20:32 ` Information flow models John D. Ramsdell
2003-12-08 17:57   ` Karl MacMillan
2003-12-10 13:18     ` John D. Ramsdell
2003-12-10 15:11       ` Karl MacMillan
2003-12-10 15:29         ` John D. Ramsdell
2003-12-10 15:37           ` Karl MacMillan
2003-12-10 19:06             ` Joshua D. Guttman
2003-12-10 20:18               ` Karl MacMillan
2003-12-11 13:10                 ` John D. Ramsdell
2003-12-11 16:04                   ` Karl MacMillan
2003-12-11 17:43                     ` Joshua D. Guttman
2003-12-11 20:23     ` Stephen Smalley
2003-12-11 20:45       ` Stephen Smalley
2003-12-11 20:46       ` Karl MacMillan
2003-12-11 21:00         ` Stephen Smalley
2003-12-23 19:12   ` Trent Jaeger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.