Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was able to install bastille from the normal repositories and then run the GUI. After going through the options and clicking OK to apply, it showed these errors.

Do you know why Bastille wont work on Ubuntu 12.04?

NOTE:    Executing PSAD Specific Configuration
NOTE:    Executing File Permissions Specific Configuration
NOTE:    Executing Account Security Specific Configuration
NOTE:    Executing Boot Security Specific Configuration
ERROR:   Unable to open /etc/inittab as the
      swap file /etc/inittab.bastille
      already exists.  Rename the swap file to allow Bastille
      to make desired file modifications.
ERROR:   open /etc/inittab.bastille failed...
ERROR:   open /etc/inittab failed.
ERROR:   Couldn't insert line to /etc/inittab, since open failed.NOTE:   Executing Inetd Specific Configuration
share|improve this question

You might want to check the /var/log/Bastille/error-log file for the output. Not certain that Bastille failed, but do know that you probably will not see /etc/inittab in the uBuntu 12.04 out-of-the-box configuration. Think that may exist in RPM-based distribution (Fedora, Red Hat, SuSE, etc.) but not so sure about that being in Ubuntu any more.

More than likely, parts of your configuration worked, just some parts did not work as expected. You should also take heed of the warnings within the Community documentation about Bastille Linux:

"IMPORTANT: Please be aware that Bastille Linux requires advanced knowledge, is site-specific and has several options that no longer apply to Ubuntu."

found here.

Might be useful to start with the log output and see if maybe some of the options specified were not applicable to Ubuntu at present.

Have a nice day,


share|improve this answer
Thank you... i see, so ubuntu was a bit different files then what bastille expected. Thanks so much – BobMil Jun 20 '12 at 3:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.