[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bastille bug?



Hello,

I am currently learning how to harden a Debian system
through Bastille.

When running bastille in batch mode 'bastille -b'
(with a config-file which I created in interactive
mode before), I get the following errors:


Executing Account Security Specific Configuration
ERROR:   Unable to open /etc/pam.d/xdm as the
         swap file /etc/pam.d/xdm.bastille
         already exists.  Rename the swap file to
allow Bastille
         to make desired file modifications.
ERROR:   open /etc/pam.d/xdm.bastille failed...
ERROR:   open /etc/pam.d/xdm failed.
# Couldn't prepend line to /etc/pam.d/xdm, since open
failed.
ERROR:   Unable to open /etc/pam.d/gdm as the
         swap file /etc/pam.d/gdm.bastille
         already exists.  Rename the swap file to
allow Bastille
         to make desired file modifications.
ERROR:   open /etc/pam.d/gdm.bastille failed...
ERROR:   open /etc/pam.d/gdm failed.
# Couldn't prepend line to /etc/pam.d/gdm, since open
failed.
ERROR:   Unable to open /etc/pam.d/kde as the
         swap file /etc/pam.d/kde.bastille
         already exists.  Rename the swap file to
allow Bastille
         to make desired file modifications.
ERROR:   open /etc/pam.d/kde.bastille failed...
ERROR:   open /etc/pam.d/kde failed.
# Couldn't prepend line to /etc/pam.d/kde, since open
failed.
Executing Boot Security Specific Configuration
Couldn't modify hard drive's grub configuration file
-- couldn't
find /boot/grub/menu.lst
Executing Inetd Specific Configuration
Executing PAM Specific Configuration
ERROR:   Unable to open /etc/pam.d/xdm as the
         swap file /etc/pam.d/xdm.bastille
         already exists.  Rename the swap file to
allow Bastille
         to make desired file modifications.
ERROR:   open /etc/pam.d/xdm.bastille failed...
ERROR:   open /etc/pam.d/xdm failed.
# Couldn't append line to /etc/pam.d/xdm, since open
failed.ERROR:   Unable to open /etc/pam.d/gdm as the
         swap file /etc/pam.d/gdm.bastille
         already exists.  Rename the swap file to
allow Bastille
         to make desired file modifications.
ERROR:   open /etc/pam.d/gdm.bastille failed...
ERROR:   open /etc/pam.d/gdm failed.
# Couldn't append line to /etc/pam.d/gdm, since open
failed.ERROR:   Unable to open /etc/pam.d/kde as the
         swap file /etc/pam.d/kde.bastille
         already exists.  Rename the swap file to
allow Bastille
         to make desired file modifications.
ERROR:   open /etc/pam.d/kde.bastille failed...
ERROR:   open /etc/pam.d/kde failed.
# Couldn't append line to /etc/pam.d/kde, since open
failed.Executing Logging Specific Configuration
ERROR:   Unable to open /etc/logrotate.d/syslog as the
         swap file /etc/logrotate.d/syslog.bastille
         already exists.  Rename the swap file to
allow Bastille
         to make desired file modifications.
ERROR:   open /etc/logrotate.d/syslog.bastille
failed...
ERROR:   open /etc/logrotate.d/syslog failed.
# Couldn't append line to /etc/logrotate.d/syslog,
since open failed.Executing Printing Specific
Configuration
Executing Temporary Directory Specific Configuration
########################################################
Errors have occurred in the configuration.
Please view the following file for more details:
        /var/log/Bastille/error-log
########################################################


Well I am not sure if that is really a bug.

gdm, xdm and kde are not installed, but bastille
should not complain about that.

And what about the "syslog"? 
The file /etc/logrotate.d/syslog does not exist.
What shall I do?

Cheers,
lyric





      


Reply to: