* [gentoo-hardened] selinux-greenhorn: make load not working
@ 2006-04-29 7:06 Manuel Werlberger
2006-04-29 14:47 ` Manuel Werlberger
0 siblings, 1 reply; 2+ messages in thread
From: Manuel Werlberger @ 2006-04-29 7:06 UTC (permalink / raw
To: gentoo-hardened
Hi!
I hope you can help me. I'm abolutely new to SELinux. I want to convert
my server-box to a selinux profile. I followed the converting-guide in
the selinux-handbook. When i do make clean - make install - make load in
/etc/security/selinux/src/policy i get:
* Loading policy.20
/usr/sbin/load_policy: Can't load policy: No such file or directory
make: *** [tmp/load] Error 2
I think my problem is that sestatus says that SELinux status: disabled.
But I don't find the problem why my box do not activate SELinux at boot.
athena policy # ldd /sbin/init
linux-gate.so.1 => (0xffffe000)
libselinux.so.1 => /lib/libselinux.so.1 (0xb7fcc000)
libsepol.so.1 => /lib/libsepol.so.1 (0xb7f7d000)
libc.so.6 => /lib/libc.so.6 (0xb7e68000)
libdl.so.2 => /lib/libdl.so.2 (0xb7e64000)
/lib/ld-linux.so.2 (0xb7feb000)
I use selinux/2005.1/x86/ profile and i686-pc-linux-gnu-3.4.5 as gcc
profile. Do I have to switch to a hardened gcc profile? I don't want to
try without asking (I need the box running ;-) ). The kernel I use is
linux-2.6.14-hardened-r5.
I hope there's enough information to solve the problem.
In addition I have the question about docs. Where do I get information
on SELinux? The handbook and docs on gentoo are great but IMHO a little
bit short for creating policies and how SELinux really works. (Thinks
like what can I do with SELinux and how :-) ).
Thanks in advance,
Manuel
--
gentoo-hardened@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-hardened] selinux-greenhorn: make load not working
2006-04-29 7:06 [gentoo-hardened] selinux-greenhorn: make load not working Manuel Werlberger
@ 2006-04-29 14:47 ` Manuel Werlberger
0 siblings, 0 replies; 2+ messages in thread
From: Manuel Werlberger @ 2006-04-29 14:47 UTC (permalink / raw
To: gentoo-hardened
Hi!
I got the mistake. Something went wrong with my Lilo config. I always
did a remote reboot and didn't realise the wrong configuration.
Still looking for some good documentation...
Greetings, Manuel
On 4/29/06, Manuel Werlberger <news@werlberger.org> wrote:
> Hi!
>
> I hope you can help me. I'm abolutely new to SELinux. I want to convert
> my server-box to a selinux profile. I followed the converting-guide in
> the selinux-handbook. When i do make clean - make install - make load in
> /etc/security/selinux/src/policy i get:
>
> * Loading policy.20
> /usr/sbin/load_policy: Can't load policy: No such file or directory
> make: *** [tmp/load] Error 2
>
>
> I think my problem is that sestatus says that SELinux status: disabled.
> But I don't find the problem why my box do not activate SELinux at boot.
>
> athena policy # ldd /sbin/init
> linux-gate.so.1 => (0xffffe000)
> libselinux.so.1 => /lib/libselinux.so.1 (0xb7fcc000)
> libsepol.so.1 => /lib/libsepol.so.1 (0xb7f7d000)
> libc.so.6 => /lib/libc.so.6 (0xb7e68000)
> libdl.so.2 => /lib/libdl.so.2 (0xb7e64000)
> /lib/ld-linux.so.2 (0xb7feb000)
>
> I use selinux/2005.1/x86/ profile and i686-pc-linux-gnu-3.4.5 as gcc
> profile. Do I have to switch to a hardened gcc profile? I don't want to
> try without asking (I need the box running ;-) ). The kernel I use is
> linux-2.6.14-hardened-r5.
>
> I hope there's enough information to solve the problem.
>
> In addition I have the question about docs. Where do I get information
> on SELinux? The handbook and docs on gentoo are great but IMHO a little
> bit short for creating policies and how SELinux really works. (Thinks
> like what can I do with SELinux and how :-) ).
>
> Thanks in advance,
> Manuel
> --
> gentoo-hardened@gentoo.org mailing list
>
>
--
[X] nail here for a new display
--
gentoo-hardened@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-29 14:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-29 7:06 [gentoo-hardened] selinux-greenhorn: make load not working Manuel Werlberger
2006-04-29 14:47 ` Manuel Werlberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox