Bug 631860 - SELinux is preventing /sbin/iptables-multi "read" access on /usr/local.
Summary: SELinux is preventing /sbin/iptables-multi "read" access on /usr/local.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:c1b992422f1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-08 14:41 UTC by krlynch
Modified: 2010-10-14 06:34 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.6.32-123.fc12
Clone Of:
Environment:
Last Closed: 2010-10-14 06:34:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description krlynch 2010-09-08 14:41:24 UTC
Summary:

SELinux is preventing /sbin/iptables-multi "read" access on /usr/local.

Detailed Description:

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
report.

Additional Information:

Source Context                unconfined_u:unconfined_r:iptables_t:s0-s0:c0.c102
                              3
Target Context                unconfined_u:object_r:usr_t:s0
Target Objects                /usr/local [ lnk_file ]
Source                        iptables
Source Path                   /sbin/iptables-multi
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           iptables-1.4.5-1.fc12
Target RPM Packages           filesystem-2.4.30-2.fc12
Policy RPM                    selinux-policy-3.6.32-113.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.32.11-99.fc12.x86_64
                              #1 SMP Mon Apr 5 19:59:38 UTC 2010 x86_64 x86_64
Alert Count                   8
First Seen                    Mon 10 May 2010 02:12:56 PM EDT
Last Seen                     Mon 10 May 2010 02:12:56 PM EDT
Local ID                      a5e5cdfa-20f7-4ef0-a1b5-4433d7d6ea52
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1273515176.829:24750): avc:  denied  { read } for  pid=6797 comm="iptables" name="local" dev=dm-1 ino=5319 scontext=unconfined_u:unconfined_r:iptables_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:usr_t:s0 tclass=lnk_file

node=(removed) type=SYSCALL msg=audit(1273515176.829:24750): arch=c000003e syscall=4 success=no exit=-13 a0=7fffc5a151d0 a1=7fffc5a15290 a2=7fffc5a15290 a3=ffffffff items=0 ppid=5163 pid=6797 auid=501 uid=501 gid=501 euid=501 suid=501 fsuid=501 egid=501 sgid=501 fsgid=501 tty=pts0 ses=40 comm="iptables" exe="/sbin/iptables-multi" subj=unconfined_u:unconfined_r:iptables_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,iptables,iptables_t,usr_t,lnk_file,read
audit2allow suggests:

#============= iptables_t ==============
allow iptables_t usr_t:lnk_file read;

Comment 1 Miroslav Grepl 2010-10-01 05:54:07 UTC
Fixed in selinux-policy-3.6.32-123.fc12

Comment 2 Fedora Update System 2010-10-01 08:48:34 UTC
selinux-policy-3.6.32-123.fc12 has been submitted as an update for Fedora 12.
https://admin.fedoraproject.org/updates/selinux-policy-3.6.32-123.fc12

Comment 3 Fedora Update System 2010-10-05 09:33:04 UTC
selinux-policy-3.6.32-123.fc12 has been pushed to the Fedora 12 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: https://admin.fedoraproject.org/updates/selinux-policy-3.6.32-123.fc12

Comment 4 Fedora Update System 2010-10-14 06:33:15 UTC
selinux-policy-3.6.32-123.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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