Bug 794967

Summary: SELinux is preventing /usr/sbin/httpd 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:25c3ae853c899459494685045d92690aea9caf07eacbe13c27f6a92a67fc89ea
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-20 15:54:08 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-18 10:47:12 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/sbin/httpd from 'execute' accesses on the None /opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0.
time:           sam. 18 févr. 2012 11:47:00 CET

description:
:SELinux is preventing /usr/sbin/httpd 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 httpd 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 httpd /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:httpd_t:s0
:Target Context                unconfined_u:object_r:usr_t:s0
:Target Objects                /opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.
:                              62.0.0 [ None ]
:Source                        httpd
:Source Path                   /usr/sbin/httpd
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           httpd-2.2.21-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                   1
:First Seen                    sam. 18 févr. 2012 11:44:18 CET
:Last Seen                     sam. 18 févr. 2012 11:44:18 CET
:Local ID                      c65a7c20-dae9-4e05-84b3-d60b3a76e4a0
:
:Raw Audit Messages
:type=AVC msg=audit(1329561858.488:95): avc:  denied  { execute } for  pid=3420 comm="httpd" path="/opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0" dev=sda3 ino=540922 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:usr_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1329561858.488:95): arch=c000003e syscall=9 success=no exit=-13 a0=0 a1=223278 a2=5 a3=802 items=0 ppid=1 pid=3420 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="httpd" exe="/usr/sbin/httpd" subj=system_u:system_r:httpd_t:s0 key=(null)
:
:
:Hash: httpd,httpd_t,usr_t,None,execute
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-02-20 15:54:08 UTC
Please execute

$ restorecon -R -v /opt/Druid

in your terminal as root.