Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1398852 - SELinux is preventing iptables.init from 'execute_no_trans' accesses on the file /usr/bin/plymouth.
Summary: SELinux is preventing iptables.init from 'execute_no_trans' accesses on the f...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:603c265bfb843f14bc619872d76...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-26 16:01 UTC by Wolfgang Rupprecht
Modified: 2016-12-12 23:58 UTC (History)
8 users (show)

Fixed In Version: selinux-policy-3.13.1-225.3.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-12 23:58:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Wolfgang Rupprecht 2016-11-26 16:01:43 UTC
Description of problem:
this happened under normal operation
SELinux is preventing iptables.init from 'execute_no_trans' accesses on the file /usr/bin/plymouth.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that iptables.init should be allowed execute_no_trans access on the plymouth file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'iptables.init' --raw | audit2allow -M my-iptablesinit
# semodule -X 300 -i my-iptablesinit.pp

Additional Information:
Source Context                system_u:system_r:iptables_t:s0
Target Context                system_u:object_r:plymouth_exec_t:s0
Target Objects                /usr/bin/plymouth [ file ]
Source                        iptables.init
Source Path                   iptables.init
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           plymouth-0.9.3-0.6.20160620git0e65b86c.fc25.x86_64
Policy RPM                    selinux-policy-3.13.1-224.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.8.8-300.fc25.x86_64 #1 SMP Tue
                              Nov 15 18:10:06 UTC 2016 x86_64 x86_64
Alert Count                   1
First Seen                    2016-11-25 03:12:01 PST
Last Seen                     2016-11-25 03:12:01 PST
Local ID                      9cdb4a2c-e980-427b-b422-7bbd5e2c9477

Raw Audit Messages
type=AVC msg=audit(1480072321.499:603): avc:  denied  { execute_no_trans } for  pid=16906 comm="iptables.init" path="/usr/bin/plymouth" dev="sda3" ino=7085791 scontext=system_u:system_r:iptables_t:s0 tcontext=system_u:object_r:plymouth_exec_t:s0 tclass=file permissive=1


Hash: iptables.init,iptables_t,plymouth_exec_t,file,execute_no_trans

Version-Release number of selected component:
selinux-policy-3.13.1-224.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.8-300.fc25.x86_64
type:           libreport

Comment 1 Fedora Update System 2016-12-09 13:46:57 UTC
selinux-policy-3.13.1-225.3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f24b3ddc6a

Comment 2 Fedora Update System 2016-12-10 03:58:04 UTC
selinux-policy-3.13.1-225.3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f24b3ddc6a

Comment 3 Fedora Update System 2016-12-12 23:58:28 UTC
selinux-policy-3.13.1-225.3.fc25 has been pushed to the Fedora 25 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.