Bacula-users

[Bacula-users] CentOS 6.6 SELINUX Problems BACULA 5.2.18 [Help]

2014-11-07 13:30:55
Subject: [Bacula-users] CentOS 6.6 SELINUX Problems BACULA 5.2.18 [Help]
From: Humphrey Bryant <hbryant AT fogadaley DOT com>
To: "bacula-users at lists.sourceforge.net" <bacula-users AT lists.sourceforge DOT net>
Date: Fri, 07 Nov 2014 13:06:04 -0500
Hi All,

I have Bacula 5.2.18 backing up to disk (file) on a Test Server running CentOS 6.5 that I recently upgraded to CentOS 6.6.

After I upgraded to CentOS 6.6 I cannot do any backup or restores, each time I try to run a backup it sits there for hours/days and nothing happens when you check the logs you see a lot of `could not open device "volume-xx" ERR=Permission denied`. (please see log at the end of this email)

I check, recheck and double check all permissions on my volumes/files and directory and everything was OK but when i run the backup they still hang nonetheless. It was after I temporarily disabled SELINUX backup start working again, so I am of the conclusion that SELINUX is at fault here..

I need some help getting SELINUX to play nice with Bacula on CENTOS 6.6, can anyone here help me out please. any one can help me create a policy or something, I don’t want to upgrade my production server and have this same problem.

Any help appreciated, thanks much

Logs:
2014-11-06 20:00:02     bacula-dir JobId 948: Start Backup JobId 948, Job=TestServer2.2014-11-06_20.00.00_03
2014-11-06 20:00:02     bacula-dir JobId 948: Using Device "FileStorage" to write.
2014-11-06 20:00:03     bacula-sd JobId 948: Warning: Volume "TestServer2-increm0046" not on device "FileStorage" (/backup).
2014-11-06 20:00:03     bacula-sd JobId 948: Marking Volume "TestServer2-increm0046" in Error in Catalog.
2014-11-06 20:00:03     bacula-sd JobId 948: Warning: Volume "TestServer2-increm0046" not on device "FileStorage" (/backup).
2014-11-06 20:00:03     bacula-sd JobId 948: Marking Volume "TestServer2-increm0046" in Error in Catalog.
2014-11-06 20:00:03     bacula-sd JobId 948: Warning: mount.c:219 Open device "FileStorage" (/backup) Volume "TestServer2-increm0046" failed: ERR=dev.c:575 Could not open: /backup/TestServer2-increm0046, ERR=Permission denied
2014-11-06 20:00:03     bacula-dir JobId 948: Created new Volume "TestServer2-increm0049" in catalog.
2014-11-06 20:00:03     bacula-sd JobId 948: Warning: label.c:329 Open device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, ERR=Permission denied
2014-11-06 20:00:03     bacula-sd JobId 948: Warning: label.c:329 Open device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, ERR=Permission denied
2014-11-06 20:00:03     bacula-sd JobId 948: Warning: mount.c:219 Open device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, ERR=Permission denied
2014-11-06 20:00:03     bacula-sd JobId 948: Warning: label.c:329 Open device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, ERR=Permission denied
2014-11-06 20:00:03     bacula-sd JobId 948: Warning: label.c:329 Open device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, ERR=Permission denied
2014-11-06 20:00:03     bacula-sd JobId 948: Warning: mount.c:219 Open device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, ERR=Permission denied
2014-11-06 20:00:03     bacula-sd JobId 948: Warning: label.c:329 Open device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, ERR=Permission denied
2014-11-06 20:00:03     bacula-sd JobId 948: Warning: label.c:329 Open device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, ERR=Permission denied
2014-11-06 20:00:03     bacula-sd JobId 948: Warning: mount.c:219 Open device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, ERR=Permission denied
2014-11-06 20:00:03     bacula-sd JobId 948: Warning: label.c:329 Open device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, ERR=Permission denied



-- 
Best Regards
Humphrey Bryant
Information System Admin

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. 

Attachment: hbryant.vcf
Description: Vcard

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>