Mar
18
I’m really happy to announce that SELinux is now available in Ubuntu 8.04 “Hardy Heron”. This is the result of the amazing work of the ubuntu-security and ubuntu-hardened teams, as well as the huge contributions from the folks at Tresys. (note: SELinux will not be the default, but is available as a security option.)
If you would prefer to use SELinux over AppArmour, or if you’re just a good soul that would like to help test Ubuntu’s SELinux implementation, please read on.
Install SELinux in Ubuntu 8.04
All that is needed is to install the SELinux package, which will remove AppArmour and apply the SELinux policy.
sudo aptitude install selinux
If you run across any issues or bugs please report them against SELinux on launchpad. Welcome to a more secure Ubuntu!
I post tutorials very regularly on this site. You may want to consider subscribing to the RSS feed. Or if you'd prefer these tips sent to your inbox you can use Email Subscriptions.
Related Posts
Random Posts
Comments
9 Responses to “How To Install SELinux on Ubuntu 8.04 “Hardy Heron””
Leave a Reply
The link to SELinux on Launchpad is broken.
@omegamormegil - I’ve fixed the link, thank you.
Taken from “https://wiki.ubuntu.com/HardySELinux”:
“If using aptitude instead of apt-get, you will need to manually remove apparmor and apparmor-utils, deselect selinux-policy-dummy, and then choose selinux-policy-refpolicy.”
Nice!
Hi,
Why does it want to replace 2.6.24-12-generic with 2.6.22-14-xen?
I don’t want to downgrade to 2.6.22…
@Corrin - that seems odd. Are you running Hardy with the latest updates?
Very nice posted , thx
NSA backdoor?
I tried to install SELinux on Hardy SERVER (Release Candidate). However, I got the following error:
Setting up selinux (0.2) …
Unknown terminal: dtterm
Check the TERM environment variable.
Also make sure that the terminal is defined in the terminfo database.
Alternatively, set the TERMCAP environment variable to the desired
termcap entry.
debconf: whiptail output the above errors, giving up!
dpkg: error processing selinux (–configure):
subprocess post-installation script returned error exit status 255
Setting up selinux-policy-refpolicy-unconfined (0.0.20071214-0ubuntu3) …
Errors were encountered while processing:
selinux
E: Sub-process /usr/bin/dpkg returned an error code (1)