Gentoo Archives: gentoo-hardened

From: Manuel Werlberger <news@××××××××××.org>
To: gentoo-hardened@g.o
Subject: Re: [gentoo-hardened] selinux-greenhorn: make load not working
Date: Sat, 29 Apr 2006 14:50:23
Message-Id: 5487ec7f0604290747i4e89a52dh158dd719c9827be2@mail.gmail.com
In Reply to: [gentoo-hardened] selinux-greenhorn: make load not working by Manuel Werlberger
1 Hi!
2
3 I got the mistake. Something went wrong with my Lilo config. I always
4 did a remote reboot and didn't realise the wrong configuration.
5
6 Still looking for some good documentation...
7
8 Greetings, Manuel
9
10 On 4/29/06, Manuel Werlberger <news@××××××××××.org> wrote:
11 > Hi!
12 >
13 > I hope you can help me. I'm abolutely new to SELinux. I want to convert
14 > my server-box to a selinux profile. I followed the converting-guide in
15 > the selinux-handbook. When i do make clean - make install - make load in
16 > /etc/security/selinux/src/policy i get:
17 >
18 > * Loading policy.20
19 > /usr/sbin/load_policy: Can't load policy: No such file or directory
20 > make: *** [tmp/load] Error 2
21 >
22 >
23 > I think my problem is that sestatus says that SELinux status: disabled.
24 > But I don't find the problem why my box do not activate SELinux at boot.
25 >
26 > athena policy # ldd /sbin/init
27 > linux-gate.so.1 => (0xffffe000)
28 > libselinux.so.1 => /lib/libselinux.so.1 (0xb7fcc000)
29 > libsepol.so.1 => /lib/libsepol.so.1 (0xb7f7d000)
30 > libc.so.6 => /lib/libc.so.6 (0xb7e68000)
31 > libdl.so.2 => /lib/libdl.so.2 (0xb7e64000)
32 > /lib/ld-linux.so.2 (0xb7feb000)
33 >
34 > I use selinux/2005.1/x86/ profile and i686-pc-linux-gnu-3.4.5 as gcc
35 > profile. Do I have to switch to a hardened gcc profile? I don't want to
36 > try without asking (I need the box running ;-) ). The kernel I use is
37 > linux-2.6.14-hardened-r5.
38 >
39 > I hope there's enough information to solve the problem.
40 >
41 > In addition I have the question about docs. Where do I get information
42 > on SELinux? The handbook and docs on gentoo are great but IMHO a little
43 > bit short for creating policies and how SELinux really works. (Thinks
44 > like what can I do with SELinux and how :-) ).
45 >
46 > Thanks in advance,
47 > Manuel
48 > --
49 > gentoo-hardened@g.o mailing list
50 >
51 >
52
53
54 --
55 [X] nail here for a new display
56
57 --
58 gentoo-hardened@g.o mailing list