Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 453308 - SELinux is preventing ptrace from accessing the network
Summary: SELinux is preventing ptrace from accessing the network
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 9
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2008-06-29 13:21 UTC by Wayne Hammond
Modified: 2008-11-17 22:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-11-17 22:04:54 UTC

Attachments (Terms of Use)

Description Wayne Hammond 2008-06-29 13:21:35 UTC

SELinux is preventing netplugd (hotplug_t) "signal" to <Unknown> (netutils_t).

Detailed Description:

SELinux denied access requested by netplugd. It is not expected that this access
is required by netplugd 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
( Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (
against this package.

Additional Information:

Source Context                unconfined_u:system_r:hotplug_t:s0
Target Context                unconfined_u:system_r:netutils_t:s0
Target Objects                None [ process ]
Source                        netplugd
Source Path                   /sbin/netplugd
Port                          <Unknown>
Host                          localhost.localdomain
Source RPM Packages           net-tools-1.60-87.fc9
Target RPM Packages           
Policy RPM                    selinux-policy-3.3.1-64.fc9
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     localhost.localdomain
Platform                      Linux localhost.localdomain
                              #1 SMP Tue Jun 10 16:05:21 EDT 2008 x86_64 x86_64
Alert Count                   1
First Seen                    Wed 25 Jun 2008 11:13:42 PM CDT
Last Seen                     Wed 25 Jun 2008 11:13:42 PM CDT
Local ID                      8a505434-dfbc-4736-b702-8f482751a19b
Line Numbers                  

Raw Audit Messages            

host=localhost.localdomain type=AVC msg=audit(1214453622.774:153): avc:  denied
 { signal } for  pid=14929 comm="netplugd"
tcontext=unconfined_u:system_r:netutils_t:s0 tclass=process

host=localhost.localdomain type=SYSCALL msg=audit(1214453622.774:153):
arch=c000003e syscall=62 success=yes exit=0 a0=ffffac7b a1=f a2=0 a3=8 items=0
ppid=1 pid=14929 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0
fsgid=0 tty=(none) ses=1 comm="netplugd" exe="/sbin/netplugd"
subj=unconfined_u:system_r:hotplug_t:s0 key=(null)

Comment 1 Daniel Walsh 2008-06-30 17:18:19 UTC
You can allow this for now.

# audit2allow -M mypol -l -i /var/log/audit/audit.log
# semodule -i mypol.pp

Fixed in selinux-policy-3.3.1-73.fc9.noarch

Comment 2 Daniel Walsh 2008-11-17 22:04:54 UTC
Closing all bugs that have been in modified for over a month.  Please reopen if the bug is not actually fixed.

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