Bug 731222 - SELinux is preventing /sbin/iptables-multi "getopt" access .
Summary: SELinux is preventing /sbin/iptables-multi "getopt" access .
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:58e8ee7049c...
Depends On:
TreeView+ depends on / blocked
Reported: 2011-08-17 02:42 UTC by jpgorrono
Modified: 2011-08-17 11:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2011-08-17 11:53:58 UTC

Attachments (Terms of Use)

Description jpgorrono 2011-08-17 02:42:40 UTC

SELinux is preventing /sbin/iptables-multi "getopt" access .

Detailed Description:

[iptables has a permissive type (cobblerd_t). This access was not denied.]

SELinux denied access requested by iptables. It is not expected that this access
is required by iptables 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

Additional Information:

Source Context                unconfined_u:system_r:cobblerd_t:s0
Target Context                unconfined_u:system_r:cobblerd_t:s0
Target Objects                None [ rawip_socket ]
Source                        iptables
Source Path                   /sbin/iptables-multi
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           iptables-1.4.5-1.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-127.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              #1 SMP Wed Dec 1 21:39:34 UTC 2010 x86_64 x86_64
Alert Count                   5
First Seen                    Wed 18 May 2011 07:09:26 PM PDT
Last Seen                     Wed 18 May 2011 07:13:22 PM PDT
Local ID                      56eacc30-3aba-4efa-bb0f-ca000c15ba37
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1305771202.169:1126): avc:  denied  { getopt } for  pid=17333 comm="iptables" lport=255 scontext=unconfined_u:system_r:cobblerd_t:s0 tcontext=unconfined_u:system_r:cobblerd_t:s0 tclass=rawip_socket

node=(removed) type=SYSCALL msg=audit(1305771202.169:1126): arch=c000003e syscall=55 success=yes exit=0 a0=3 a1=0 a2=40 a3=7fff00917e10 items=0 ppid=17323 pid=17333 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="iptables" exe="/sbin/iptables-multi" subj=unconfined_u:system_r:cobblerd_t:s0 key=(null)

Hash String generated from  catchall,iptables,cobblerd_t,cobblerd_t,rawip_socket,getopt
audit2allow suggests:

#============= cobblerd_t ==============
allow cobblerd_t self:rawip_socket getopt;

Comment 1 jpgorrono 2011-08-17 02:45:54 UTC
This occurred during boot....after a force poweroff

Comment 2 Daniel Walsh 2011-08-17 11:53:58 UTC
Unsupported OS please update to F14 or later.

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