Bug 619898

Summary: SELinux is preventing gdb "read" access on /usr/lib64/httpd/modules/mod_authz_groupfile.so.
Product: [Fedora] Fedora Reporter: Donald Edward Winslow <dew>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: dew, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:d90a65db2d18732c739a255dc45fab4dba4af3f5e4e0e6161584651b5ae35d51
Fixed In Version: selinux-policy-3.7.19-44.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-10 21:42:27 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:

Description Donald Edward Winslow 2010-07-30 20:01:57 UTC
Summary:

SELinux is preventing gdb "read" access on
/usr/lib64/httpd/modules/mod_authz_groupfile.so.

Detailed Description:

SELinux denied access requested by gdb. It is not expected that this access is
required by gdb and this access may signal an intrusion attempt. It is also
possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:abrt_t:s0-s0:c0.c1023
Target Context                system_u:object_r:httpd_modules_t:s0
Target Objects                /usr/lib64/httpd/modules/mod_authz_groupfile.so [
                              file ]
Source                        eu-unstrip
Source Path                   /usr/bin/eu-unstrip
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           httpd-2.2.15-1.fc13
Policy RPM                    selinux-policy-3.7.19-39.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.33.6-147.fc13.x86_64 #1 SMP Tue Jul 6 22:32:17
                              UTC 2010 x86_64 x86_64
Alert Count                   223
First Seen                    Fri 30 Jul 2010 02:43:52 PM CDT
Last Seen                     Fri 30 Jul 2010 02:54:18 PM CDT
Local ID                      ffd39497-c1ce-4cd0-9777-9a4badd9e204
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1280519658.107:46317): avc:  denied  { read } for  pid=7129 comm="gdb" name="mod_authz_groupfile.so" dev=sda2 ino=656090 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:httpd_modules_t:s0 tclass=file



Hash String generated from  catchall,eu-unstrip,abrt_t,httpd_modules_t,file,read
audit2allow suggests:

#============= abrt_t ==============
allow abrt_t httpd_modules_t:file read;

Comment 1 Donald Edward Winslow 2010-07-30 20:06:46 UTC
I was trying to generate a bug report on ABRT against httpd. The automated install of debuginfo packages failed, and ABRT instructed me to manually install the debuginfo packages and then refresh the backtrace. I did so, but when I refreshed the backtrace, the AVC denial came up, and the ABRT dialog box still indicated that debuginfo packages were not properly installed.

Comment 2 Daniel Walsh 2010-08-03 12:58:56 UTC
We should allow this.

Comment 3 Miroslav Grepl 2010-08-04 14:18:46 UTC
Fixed in selinux-policy-3.7.19-43.fc13.noarch.

Comment 4 Fedora Update System 2010-08-06 13:42:24 UTC
selinux-policy-3.7.19-44.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-44.fc13

Comment 5 Fedora Update System 2010-08-06 21:01:35 UTC
selinux-policy-3.7.19-44.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-44.fc13

Comment 6 Fedora Update System 2010-08-10 21:40:51 UTC
selinux-policy-3.7.19-44.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.