Domingo, 8 de Julho de 2007

SElinux no Ubuntu Feisty

O SElinux utiliza o LSM do kernel Linux e foi feito para controlar e proteger o sistema. É muito completo, mas também pode ser difícil de gerir.

Instalar o SElinux no Ubuntu Feisty é algo complicado e muito pouco documentado. É pena, pois outras distros já o suportam há muito tempo.

Para além de ter que activar a opção de arranque do kernel, o upstart não funciona com o SElinux out-of-the-box. O mais simples é instalar o sysvinit para correr o SElinux. Pode já ter tudo o resto pronto para o SElinux, mas este não funciona no Ubuntu Feisty se não instalar o pacote do sysvinit. Mais tarde irei colocar um tópico no ubuntuforums com esta instalação e ver se há alguma maneira de por o upstart a funcionar com o SElinux.

Como não encontrei nenhum documento na internet que explicasse como instalar o SElinux no Ubuntu, criei um. Explica alguns cuidados na instalação e como fazê-la.

Para quem quiser testar o SElinux no Ubuntu, aqui fica como instalar-lo no Feisty: http://ubuntu.no.sapo.pt/selinux_ubuntu_feisty.html



SElinux uses the kernel Linux LSM and was created to control and protectthe system. It is very complete, but might be very hard to manage.

To install SElinux in Ubuntu Feisty is a little bit tricky e poorly documented. It's sad, since other distros support it for a long time now.

Beside the activation of the boot kernel option, upstart doesn't work with SElinux out-of-the-box. The simplest way to get SElinux to work is installing sysvinit package. You may have all the rest setup like it should, but it wont work on Ubuntu Feisty if you don't install sysvinit package. Later I will post this installation in ubuntuforums and see if there is any way to make upstart work with Selinux.

Has I didn't found any document in the internet that explained how to install SElinux on Ubuntu, I've created one. It explains some cautions to have in the installation and how to do it.

To whom wants to test SElinux in Ubuntu, here is how to install it in Ubuntu Feisty: http://ubuntu.no.sapo.pt/selinux_ubuntu_feisty_eng.html

publicado por epimeteo às 11:47
link | comentar | favorito

.mais sobre mim

.pesquisar

.Outubro 2007

Dom
Seg
Ter
Qua
Qui
Sex
Sab
1
2
3
4
5
6
7
8
9
10
11
12
13
14
16
17
19
20
21
22
23
24
25
26
27
28
29
30
31

.Subscrever por e-mail

A subscrição é anónima e gera, no máximo, um e-mail por dia.

.posts recentes

. SElinux no Ubuntu Feisty

.arquivos

. Outubro 2007

. Julho 2007

. Junho 2007

. Maio 2007

. Abril 2007

. Março 2007

.tags

. todas as tags

blogs SAPO

.subscrever feeds