Bug 546380 - SELinux is preventing gdb "write" access on gdb.
Summary: SELinux is preventing gdb "write" access on gdb.
Keywords:
Status: CLOSED DUPLICATE of bug 528554
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 12
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard: setroubleshoot_trace_hash:dc9e6a4dff0...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-10 18:44 UTC by Michal Nowak
Modified: 2013-03-08 02:07 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-04-05 12:51:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Nowak 2009-12-10 18:44:19 UTC
Summary:

SELinux is preventing gdb "write" access on gdb.

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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:NetworkManager_t:s0
Target Context                system_u:object_r:usr_t:s0
Target Objects                gdb [ dir ]
Source                        gdb
Source Path                   gdb
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-55.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.6-162.fc12.i686 #1 SMP Fri Dec 4 01:09:09
                              EST 2009 i686 i686
Alert Count                   2
First Seen                    Thu 10 Dec 2009 06:29:25 PM CET
Last Seen                     Thu 10 Dec 2009 06:29:25 PM CET
Local ID                      a8417d0b-95d7-46b3-bf6d-78a2fb338c6d
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1260466165.691:298): avc:  denied  { write } for  pid=28587 comm="gdb" name="gdb" dev=dm-2 ino=122766 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=dir



Hash String generated from  selinux-policy-3.6.32-55.fc12,catchall,gdb,NetworkManager_t,usr_t,dir,write
audit2allow suggests:

#============= NetworkManager_t ==============
allow NetworkManager_t usr_t:dir write;

Comment 1 Daniel Walsh 2010-04-05 12:51:41 UTC

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


Note You need to log in before you can comment on or make changes to this bug.