Bug 756366

Summary: SELinux is preventing /usr/libexec/colord from 'getattr' accesses on the filesystem /media.
Product: [Fedora] Fedora Reporter: Yishay Ben-Shimol <yishaybs>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:019c429e53b57395b9e23a653bbb758ba05834ad53e71238afa0fbc35a83ff9b
Fixed In Version: selinux-policy-3.10.0-64.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 01:05:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: description none

Description Yishay Ben-Shimol 2011-11-23 11:43:07 UTC
libreport version: 2.0.7
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.1-2.fc16.x86_64
reason:         SELinux is preventing /usr/libexec/colord from 'getattr' accesses on the filesystem /media.
time:           Wed 23 Nov 2011 01:30:44 PM IST

description:    Text file, 2417 bytes

Comment 1 Yishay Ben-Shimol 2011-11-23 11:43:10 UTC
Created attachment 535440 [details]
File: description

Comment 2 Daniel Walsh 2011-11-23 14:58:11 UTC
Did you have tmpfs mounted on /media?

Comment 3 Yishay Ben-Shimol 2011-11-23 19:23:55 UTC
I have nothing mounted on /media at boot time.

Comment 4 Yishay Ben-Shimol 2011-11-23 19:29:33 UTC
Actually using df -k I can find an entry for tmpfs on /media.
Is that a problem?

Comment 5 Daniel Walsh 2011-11-28 23:16:54 UTC
No but why do you have tmpfs mounted there?

Comment 6 Daniel Walsh 2011-11-28 23:19:54 UTC
Miroslav lets add

+fs_dontaudit_getattr_all_fs(colord_t)

Comment 7 Miroslav Grepl 2011-11-29 08:55:14 UTC
Added to -63.fc16

Comment 8 Fedora Update System 2011-12-02 13:16:06 UTC
selinux-policy-3.10.0-64.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-64.fc16

Comment 9 Fedora Update System 2011-12-04 02:32:06 UTC
Package selinux-policy-3.10.0-64.fc16:
* should fix your issue,
* was pushed to the Fedora 16 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.10.0-64.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16698/selinux-policy-3.10.0-64.fc16
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2011-12-06 01:05:54 UTC
selinux-policy-3.10.0-64.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Yishay Ben-Shimol 2011-12-10 14:28:44 UTC
Well guys, the problem is solved, no more massages from SEL, regarding this issue.
Thanks a lot.