[CentOS] Bastille-linux

Bob Hepple

bhepple at promptu.com
Thu Jun 2 23:57:47 UTC 2011


Has anyone got Bastille-linux running on Centos-5.6?

http://bastille-linux.sourceforge.net claims RHEL5 support but I ran
into problems running it on a Centos 5.6 test system.

First I had to "ln -s /usr/lib64/Bastille /usr/lib" just to get it to
run at all. Then I tried faking /etc/redhat-release with

Red Hat Enterprise Linux Server release 5.6

... but I get this (why would it want "HPSpecific.pm" !!!???:

[root at slice244:sting ~]# bastille --assessnobrowser
ERROR:   Couldn't determine Red Hat version! Setting to 9!
ERROR:   Couldn't determine Red Hat version! Setting to 9!
NOTE:    Using audit user interface module.
Can't locate Bastille/API/HPSpecific.pm in @INC (@INC contains: /usr/lib /usr/lib/perl5/site_perl//5.8.8 /usr/lib/perl5/site_perl/ /usr/lib/Bastille /opt/sec_mgmt/bastille/lib /opt/sec_mgmt/bastille/lib/API /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8) at /usr/lib/Bastille/IOLoader.pm line 8.
BEGIN failed--compilation aborted at /usr/lib/Bastille/IOLoader.pm line 8.
Compilation failed in require at /usr/sbin/InteractiveBastille line 414.

Trying to force with "--os RHEL5" just gives the usage message!!!

<winge>
doncha just hate that? wouldn't hurt the developer to tell you what's
actually wrong rather than just the blummin usage message!!!
</winge>

          Usage: bastille [ -b  | -c | -x ] [ --os <version>] [ -f <alternate config> ]
                 bastille [-r | -l | -h | --assess | --assessnobrowser ]
          -b : use a saved config file to apply changes
               directly to system
          -c : use the Curses (non-X11) GUI, not available on HP-UX
          -h : this help
          -f : populate answers with alternate configuration file
          -r : revert Bastille changes to original file versions (pre-Bastille)
          -l : list the standard config file(s) (if any) that matches the last
               run config
          --os version : ask all questions for the given operating system
               version.  e.g. --os HP-UX11.11
          -x : use the Perl/Tk (X11) GUI
          --assess / -a : run Bastille in assessment mode, generating a report and displaying it in a browser
          --assessnobrowser : run Bastille in assessment mode, generating a report with no browser



TIA


-- 
Bob Hepple <bhepple at promptu.com>
ph: 07-5584-5908 Fx: 07-5575-9550



More information about the CentOS mailing list