Gentoo Archives: gentoo-hardened

From: Manuel Werlberger <news@××××××××××.org>
To: gentoo-hardened@g.o
Subject: [gentoo-hardened] selinux-greenhorn: make load not working
Date: Sat, 29 Apr 2006 07:07:57
Message-Id: 44531080.9080403@werlberger.org
1 Hi!
2
3 I hope you can help me. I'm abolutely new to SELinux. I want to convert
4 my server-box to a selinux profile. I followed the converting-guide in
5 the selinux-handbook. When i do make clean - make install - make load in
6 /etc/security/selinux/src/policy i get:
7
8 * Loading policy.20
9 /usr/sbin/load_policy: Can't load policy: No such file or directory
10 make: *** [tmp/load] Error 2
11
12
13 I think my problem is that sestatus says that SELinux status: disabled.
14 But I don't find the problem why my box do not activate SELinux at boot.
15
16 athena policy # ldd /sbin/init
17 linux-gate.so.1 => (0xffffe000)
18 libselinux.so.1 => /lib/libselinux.so.1 (0xb7fcc000)
19 libsepol.so.1 => /lib/libsepol.so.1 (0xb7f7d000)
20 libc.so.6 => /lib/libc.so.6 (0xb7e68000)
21 libdl.so.2 => /lib/libdl.so.2 (0xb7e64000)
22 /lib/ld-linux.so.2 (0xb7feb000)
23
24 I use selinux/2005.1/x86/ profile and i686-pc-linux-gnu-3.4.5 as gcc
25 profile. Do I have to switch to a hardened gcc profile? I don't want to
26 try without asking (I need the box running ;-) ). The kernel I use is
27 linux-2.6.14-hardened-r5.
28
29 I hope there's enough information to solve the problem.
30
31 In addition I have the question about docs. Where do I get information
32 on SELinux? The handbook and docs on gentoo are great but IMHO a little
33 bit short for creating policies and how SELinux really works. (Thinks
34 like what can I do with SELinux and how :-) ).
35
36 Thanks in advance,
37 Manuel
38 --
39 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] selinux-greenhorn: make load not working Manuel Werlberger <news@××××××××××.org>