Bug 796095

Summary: SELinux is preventing /usr/lib/cups/filter/bannertops from 'execute' accesses on the None /opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0.
Product: [Fedora] Fedora Reporter: Jörg BUCHMANN <jorg>
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:9349bed1d6a99fcec5dc7472ec7869c03dfe68c7147df1019a13d38bc8cf9e80
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-22 13:53:02 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 Jörg BUCHMANN 2012-02-22 10:00:57 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.6-3.fc16.x86_64
reason:         SELinux is preventing /usr/lib/cups/filter/bannertops from 'execute' accesses on the None /opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0.
time:           mer. 22 févr. 2012 11:00:41 CET

description:
:SELinux is preventing /usr/lib/cups/filter/bannertops from 'execute' accesses on the None /opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that bannertops should be allowed execute access on the libjpeg.so.62.0.0 <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 bannertops /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:usr_t:s0
:Target Objects                /opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.
:                              62.0.0 [ None ]
:Source                        bannertops
:Source Path                   /usr/lib/cups/filter/bannertops
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           cups-1.5.2-1.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.6-3.fc16.x86_64 #1 SMP Mon
:                              Feb 13 20:35:42 UTC 2012 x86_64 x86_64
:Alert Count                   4
:First Seen                    mar. 21 févr. 2012 07:27:53 CET
:Last Seen                     mer. 22 févr. 2012 09:03:35 CET
:Local ID                      5ccb0176-8a82-4710-b296-08e963696e7b
:
:Raw Audit Messages
:type=AVC msg=audit(1329897815.148:90): avc:  denied  { execute } for  pid=2392 comm="bannertops" path="/opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0" dev=sda3 ino=540922 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:usr_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1329897815.148:90): arch=c000003e syscall=9 success=no exit=-13 a0=0 a1=223278 a2=5 a3=802 items=0 ppid=1029 pid=2392 auid=4294967295 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm="bannertops" exe="/usr/lib/cups/filter/bannertops" subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null)
:
:
:Hash: bannertops,cupsd_t,usr_t,None,execute
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-02-22 13:53:02 UTC
You will need to execute as root in you terminal

$ restorecon -R -v /opt/Druide/Antidote7


which will fix labeling.