Bug 790581

Summary: SELinux is preventing /usr/sbin/cupsd from 'execute' accesses on the None /usr/lib/cups/filter/rastertosamsungspl.
Product: [Fedora] Fedora Reporter: alfredo_sulb2b <alfredo_sulb2b>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE 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: i686   
OS: Unspecified   
Whiteboard: abrt_hash:bb9caa3d7e50197b541e0f11c26b7c67ae15a4b75bd1434ba480104e71418ef6
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-14 21:26:58 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 alfredo_sulb2b@yahoo.com.br 2012-02-14 21:13:03 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.5-3.fc16.i686
reason:         SELinux is preventing /usr/sbin/cupsd from 'execute' accesses on the None /usr/lib/cups/filter/rastertosamsungspl.
time:           Ter 14 Fev 2012 19:12:38 BRST

description:
:SELinux is preventing /usr/sbin/cupsd from 'execute' accesses on the None /usr/lib/cups/filter/rastertosamsungspl.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that cupsd should be allowed execute access on the rastertosamsungspl <Desconhecido> 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 cupsd /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                unconfined_u:object_r:user_home_t:s0
:Target Objects                /usr/lib/cups/filter/rastertosamsungspl [ None ]
:Source                        cupsd
:Source Path                   /usr/sbin/cupsd
:Port                          <Desconhecido>
:Host                          (removed)
:Source RPM Packages           cups-1.5.0-22.fc16.i686
: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.5-3.fc16.i686 #1
:                              SMP Thu Feb 9 02:24:08 UTC 2012 i686 i686
:Alert Count                   2
:First Seen                    Ter 14 Fev 2012 19:07:55 BRST
:Last Seen                     Ter 14 Fev 2012 19:11:06 BRST
:Local ID                      d7267d59-424a-4f3e-aa2e-2c22392ad6db
:
:Raw Audit Messages
:type=AVC msg=audit(1329253866.326:249): avc:  denied  { execute } for  pid=2233 comm="cupsd" name="rastertosamsungspl" dev=sda4 ino=26178 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1329253866.326:249): arch=40000003 syscall=11 success=no exit=-13 a0=bffe3a97 a1=2270c3a8 a2=bffe3390 a3=2270c3a8 items=0 ppid=813 pid=2233 auid=4294967295 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm="cupsd" exe="/usr/sbin/cupsd" subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null)
:
:
:Hash: cupsd,cupsd_t,user_home_t,None,execute
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Daniel Walsh 2012-02-14 21:26:58 UTC
restorecon -R -v /usr/lib/cups

Comment 2 alfredo_sulb2b@yahoo.com.br 2012-02-15 00:10:28 UTC
(In reply to comment #1)
> restorecon -R -v /usr/lib/cups

HI, 
Could you write the exact sintax, please?, because I'm a beginer Linux
Thank You

Comment 3 Miroslav Grepl 2012-02-15 13:34:09 UTC

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