Bug 789097

Summary: SELinux is preventing /usr/lib/cups/backend/ipp from 'read' accesses on the None KONICA-MINOLTA-mc5670-PPD-2.ppd.
Product: [Fedora] Fedora Reporter: silvestre <Olivieralabaume>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG 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: Unspecified   
Whiteboard: abrt_hash:3e6981c1c54d82c3b19ec9e0e967b378b5d50154bf33f48a16488c1ff55c3beb
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-09 20:00:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description silvestre 2012-02-09 19:47:25 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.3-2.fc16.x86_64
reason:         SELinux is preventing /usr/lib/cups/backend/ipp from 'read' accesses on the None KONICA-MINOLTA-mc5670-PPD-2.ppd.
time:           jeu. 09 févr. 2012 20:46:01 CET

description:
:SELinux is preventing /usr/lib/cups/backend/ipp from 'read' accesses on the None KONICA-MINOLTA-mc5670-PPD-2.ppd.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that ipp should be allowed read access on the KONICA-MINOLTA-mc5670-PPD-2.ppd <Inconnu> 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 ipp /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:cupsd_t:s0-s0:c0.c1023
:Target Context                system_u:object_r:tmp_t:s0
:Target Objects                KONICA-MINOLTA-mc5670-PPD-2.ppd [ None ]
:Source                        ipp
:Source Path                   /usr/lib/cups/backend/ipp
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           cups-1.5.0-22.fc16.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.3-2.fc16.x86_64 #1 SMP
:                              Fri Feb 3 20:08:08 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    jeu. 09 févr. 2012 20:41:25 CET
:Last Seen                     jeu. 09 févr. 2012 20:41:25 CET
:Local ID                      e1685753-d5f0-4310-9369-dcb7970d1186
:
:Raw Audit Messages
:type=AVC msg=audit(1328816485.945:83): avc:  denied  { read } for  pid=1940 comm="ipp" name="KONICA-MINOLTA-mc5670-PPD-2.ppd" dev=sda2 ino=11165192 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tmp_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1328816485.945:83): arch=c000003e syscall=2 success=no exit=-13 a0=7fff7c706e83 a1=0 a2=0 a3=0 items=0 ppid=1032 pid=1940 auid=4294967295 uid=0 gid=7 euid=0 suid=0 fsuid=0 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm="ipp" exe="/usr/lib/cups/backend/ipp" subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null)
:
:
:Hash: ipp,cupsd_t,tmp_t,None,read
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-02-09 20:00:36 UTC
You will need to run 

$ restorecon -v PATHO/KONICA-MINOLTA-mc5670-PPD-2.ppd 

How did you get this file?