Bug 872325

Summary: SELinux is preventing colord-sane from using the 'execmem' accesses on a process.
Product: [Fedora] Fedora Reporter: Anthony Vidas <anthony.vidas>
Component: colordAssignee: Richard Hughes <hughsient>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: daniel, dominick.grift, dwalsh, hughsient, kkshethin, mgrepl, rhughes
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:afbb7fd3f9ec41f72161bd70f73b67c852ee7d724dc7803f3ccca0325e4b1194
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-24 10:35:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: type
none
File: hashmarkername none

Description Anthony Vidas 2012-11-01 19:35:45 UTC
Additional info:
libreport version: 2.0.16
kernel:         3.6.3-1.fc17.i686

description:
:SELinux is preventing colord-sane from using the 'execmem' accesses on a process.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that colord-sane should be allowed execmem access on processes labeled colord_t by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep colord-sane /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:colord_t:s0
:Target Context                system_u:system_r:colord_t:s0
:Target Objects                 [ process ]
:Source                        colord-sane
:Source Path                   colord-sane
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-156.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.3-1.fc17.i686 #1 SMP Mon Oct
:                              22 16:10:29 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    2012-11-01 14:54:53 EDT
:Last Seen                     2012-11-01 14:54:53 EDT
:Local ID                      8981db16-6f01-4751-9c49-af616d91dcbd
:
:Raw Audit Messages
:type=AVC msg=audit(1351796093.516:60): avc:  denied  { execmem } for  pid=1234 comm="colord-sane" scontext=system_u:system_r:colord_t:s0 tcontext=system_u:system_r:colord_t:s0 tclass=process
:
:
:Hash: colord-sane,colord_t,colord_t,process,execmem
:
:audit2allow
:
:#============= colord_t ==============
:allow colord_t self:process execmem;
:
:audit2allow -R
:
:#============= colord_t ==============
:allow colord_t self:process execmem;
:

Comment 1 Anthony Vidas 2012-11-01 19:35:47 UTC
Created attachment 636816 [details]
File: type

Comment 2 Anthony Vidas 2012-11-01 19:35:49 UTC
Created attachment 636817 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-11-02 08:51:00 UTC
This is caused by colord-sane.

Comment 4 Richard Hughes 2013-04-24 10:35:45 UTC

*** This bug has been marked as a duplicate of bug 858714 ***