Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SELinux question.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Sun Jul 31, 2005 6:45 pm    Post subject: SELinux question. Reply with quote

I'm considering switching to selinux, and I have a rather "funky" partition layout (lvm2 on top of cryptsetup hd's) and I was just wondering.

I'm reading this part : http://www.gentoo.org/proj/en/hardened/selinux/selinux-x86-handbook.xml?part=2&chap=3

What exactly does make relabel do? And if it's adding extended attributes, wouldn't I have to modify fstab and reboot with xattr on before running that step?

And second, why is it neccesary to reinstall grub?
Back to top
View user's profile Send private message
Cadorna
Apprentice
Apprentice


Joined: 30 Dec 2004
Posts: 215
Location: Argentina

PostPosted: Wed Aug 03, 2005 7:04 pm    Post subject: Reply with quote

Code:
make relabel
just relabel the files in the different filesystem with the extended attributes of SELinux acording to the policies installed, those are extended atributes in ext2,ext3,xfs and jfs developed specifically for SELinux, so if you have followed the gentoo handbook, you don't need to do anything else.
I have problems when relabeling in the chrooting enviroment, so, when finished the installation and booted with my Gentoo SELinux I just did the make relabel, and all went fine.

About grub, really don't remember that part of the handbook, besides I use lilo and don't remember that I had reinstalled
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Wed Aug 03, 2005 7:32 pm    Post subject: Reply with quote

great, I'm gonna assume the reinstall grub only applies when your doing a clean install then, thanks a lot :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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