Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Selinux installation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
flipper203
n00b
n00b


Joined: 07 Aug 2005
Posts: 32
Location: Paris

PostPosted: Sun Nov 05, 2006 5:35 pm    Post subject: Selinux installation Reply with quote

Hello, I tryed to install SElinux, following the handbook. I have some questions about this handbook:

Which is the SELinux profile for gentoo 2006.1 ? in the handbook they say to link to the profile /usr/portage/profiles/selinux/2005.1/x86 which is a 2005 profile.

When the hardened sources is installed, do we have to change the link of /usr/src/linux to take the hardened sources when recompiling the kernel ?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Nov 05, 2006 5:37 pm    Post subject: Reply with quote

The 2006.1 selinux profile is for the new reference policy. But you can't use that profile yet if you want to harden your system with pie/ssp. The new profile needs gcc-4.1 and glibc-2.4
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
flipper203
n00b
n00b


Joined: 07 Aug 2005
Posts: 32
Location: Paris

PostPosted: Sun Nov 05, 2006 5:41 pm    Post subject: Reply with quote

so for the moment I have to use the 2005 profile? (Sorry but I m trying to install SElinux since some days and I ll try to do a full reinstall, so I want to be sure that it will work!!)
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Nov 05, 2006 6:23 pm    Post subject: Reply with quote

Yeah, best to stick with the 2005.1 profile for now. That way you can follow the guide.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
flipper203
n00b
n00b


Joined: 07 Aug 2005
Posts: 32
Location: Paris

PostPosted: Mon Nov 13, 2006 8:27 pm    Post subject: Reply with quote

So, I tried to do a clean install of gentoo, then SELinux, following the handbook but I still have an issue, when I execute the sestatus command, I get the following error:

Code:
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   permissive
Mode from config file:          error (No such file or directory)
Policy version:                 20
Policy from config file:        security


But the selinux-base-policy is installed
Code:
([ebuild   R   ] sec-policy/selinux-base-policy-20051022-r1  USE="-build" 0 kB)


The directory /etc/selinux is missing in my installation. I don't understand what I did wrong. Could anybody give me a clue about this problem, I m really anoyed about this.

And I can't emerge pam, I get an error.

my kernel version is 2.6.17-hardened-r1, and it is pam-0.78-r3 that doesn't emerge

Thanks


Last edited by flipper203 on Tue Nov 14, 2006 8:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
flipper203
n00b
n00b


Joined: 07 Aug 2005
Posts: 32
Location: Paris

PostPosted: Tue Nov 14, 2006 8:48 pm    Post subject: Reply with quote

up, nobody has any clue for me?
Back to top
View user's profile Send private message
ovaron_gen
n00b
n00b


Joined: 06 Aug 2006
Posts: 4

PostPosted: Sun Nov 19, 2006 12:44 am    Post subject: Reply with quote

flipper203 wrote:
up, nobody has any clue for me?


i dont think the "Mode from config file: error (No such file or directory) " is a problem.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Nov 19, 2006 2:11 pm    Post subject: Reply with quote

Try asking on the gentoo-hardened mailling list or on irc in #gentoo-hardened on the freenode network
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum