Bug 999758

Summary: SELinux prevents glusterfs from {search}
Product: [Fedora] Fedora Reporter: Michael Cronenworth <mike>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.12.1-73.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-24 22:28:47 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 Michael Cronenworth 2013-08-22 04:21:12 UTC
Description of problem:
[  297.298789] type=1400 audit(1377145082.481:1499): avc:  denied  { search } for  pid=1157 comm="glusterfs" name="2612" dev="proc" ino=27534 scontext=system_u:system_r:glusterd_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=dir
[  317.276378] audit_printk_skb: 2850 callbacks suppressed
[  317.276382] type=1400 audit(1377145102.459:2450): avc:  denied  { search } for  pid=1157 comm="glusterfs" name="1574" dev="proc" ino=19218 scontext=system_u:system_r:glusterd_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=dir

The client logs fill up with this while using my glusterfs shares.

Version-Release number of selected component (if applicable):
glusterfs-3.4.0-8.fc19.x86_64
selinux-policy-3.12.1-71.fc19.noarch

How reproducible: Always. Just ls a glusterfs directory.


Steps to Reproduce:
1. Mount glusterfs share.
2. ls /glusterfs
3. dmesg | tail

Actual results: Dozens of AVC messages.


Expected results: No AVC messages.

Comment 1 Miroslav Grepl 2013-08-22 09:16:45 UTC
Added.

Comment 2 Fedora Update System 2013-08-23 15:12:47 UTC
selinux-policy-3.12.1-73.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-73.fc19

Comment 3 Fedora Update System 2013-08-23 23:59:22 UTC
Package selinux-policy-3.12.1-73.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-73.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-15219/selinux-policy-3.12.1-73.fc19
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-08-24 22:28:47 UTC
selinux-policy-3.12.1-73.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.