Bug 1163884

Summary: Bacula storage daemon on disk location
Product: Red Hat Enterprise Linux 6 Reporter: Dalibor Pospíšil <dapospis>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Milos Malik <mmalik>
Severity: low Docs Contact:
Priority: low    
Version: 6.6CC: dapospis, dwalsh, erinn.looneytriggs, lvrabec, mgrepl, mmalik, plautrba, pvrabec, ssekidde
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.7.19-261.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1134122 Environment:
Last Closed: 2015-07-22 07:09:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dalibor Pospíšil 2014-11-13 15:54:12 UTC
+++ This bug was initially created as a clone of Bug #1134122 +++

Description of problem:
It looks like you folks have defined a label to bacula_store_t this in turn is set to be labelled in the location /bacula/ would it be possible to exand this out a bit so that it can be in /var/bacula as well. A lot of folks, myself included, hold larger "things" in /var/ such as mysql dbs etc. So partitioning wise, well it just makes more sense.

Version-Release number of selected component (if applicable):
selinux-policy-3.7.19-260.el6.noarch

Comment 1 Miroslav Grepl 2014-11-14 10:20:13 UTC
We define it in Fedora/RHEL7

$ matchpathcon /var/bacula
/var/bacula	system_u:object_r:bacula_store_t:s0

Comment 3 Miroslav Grepl 2015-03-02 16:35:55 UTC
commit 9cb10de25808d5b5d3129e7f16112dc744696132
Author: Miroslav Grepl <mgrepl>
Date:   Mon Mar 2 17:35:29 2015 +0100

    Add labeling for /var/bacula directory.

Comment 6 errata-xmlrpc 2015-07-22 07:09:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1375.html