PDA

View Full Version : [ubuntu] Bastille for unstable?


docfx
December 16th, 2008, 08:16 PM
I've tried installing bastille, but get an error stating:
Server is not running a stable version of Debian GNU/Linux

on my Hardy 8.04.1 server and thus won't allow me to run and harden the server.

There appears to be a version of Bastille for stable and for unstable Debian at http://packages.debian.org/search?keywords=bastille

This site suggests I add a line to sources.list, but after I do it either is not recognizing the change or is defaulting to the previous ubuntu repository as it tells me that my bastille version is already the newest version.

So how do I...
1) uninstall the current version of bastille
and
2) apt-get the correct version of bastille from the other repository
or
3) upgrade to a stable version of Debian?

Inquiring minds wanna know?

I suppose I could manually harden this beast, but that seems silly to not use the tools available.

I think I got a similar message when trying to install SELinux, so any help would be appreciated.

Titan8990
December 18th, 2008, 03:45 PM
Ubuntu is not Debian. It is its own spin-off distro of debian. Likely you will need a tested and supported version of Debian in order to get that install properly (speaking from my experience with a similar app). It is not a good idea to add Debain repositories to your sources.list as it has potential to break your system via updates.


So either:

A) Install debian and use the Debian package

B) Compile it yourself: http://sourceforge.net/projects/bastille-linux/

docfx
December 20th, 2008, 02:00 PM
thanks for the reply... guess I'll go harden it manually...

Seems odd for Bastille (and/or SELinux) to be in the ubuntu respository only to not be able to install them because they're unsupported...

cariboo907
December 20th, 2008, 04:14 PM
Have you tried the Batille package that is available in the repositories?

Jim