Re: [Bacula-users] CentOS 6.6 SELINUX Problems BACULA 5.2.18 [Help]
2014-11-11 13:19:16
Hey Simone
Thank you for your input I followed your instructions and I was able
to fix (*some of) the SELinux errors
with "audit2allow"
backup/restore seems to be working again I will continue testing and
see if I encounter any more problems.
Things was not as easy or as straight forward as you presented it
but after a lots of reading on SELinux and "audit2allow"
and countless trial and errors I was able to fix my backup/restore
problems. For some reason most of the problems seems to be related
to bacula-sd wanting to read,write,etc on files and directory, I
will continue watch and update you.
Thanks Again
On 11/10/2014 09:45 AM, Simone Caronni
wrote:
It's a difficult topic but it's very rewarding :)
My suggestion is, assuming you have the system in SELinux
enforcing mode:
- Install "policycoreutils-python" for SELinux debugging
tools
- Ask for relabeling of the system (fixfiles onboot) &
reboot to let the actual relabel happen
- Stop Bacula daemons
- Clear files in /var/log/audit/
- Set system in permissive mode (setenforce 0)
- Start bacula and do whatever you need to test
- Launch "audit2allow -a" or look directly in
"/var/log/audit/audit.log" for hints
- Fix what you need to fix and re-enable SELinux
(setenforce 1)
Regards,
--Simone
--
Best Regards
Humphrey Bryant
Information System Admin
Foga Daley
Attorneys-at-Law
7 Stanton Terrace
Kingston 6
Tel - (876) 927-4371-5
Fax - (876) 927-5081
This E-mail contains information which is confidential and privileged.
Unless you are the addressee (or authorised to receive for the
addressee), you may not use, copy or disclose to anyone the message or
information contained in it. If you have received this e-mail in error,
please destroy it and advise the sender.
|
hbryant.vcf
Description: Vcard
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|