Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Just got an updated selinux-policy which resulted in complete breakage of shorewall. It seems it is no longer allowed to run iptables/ip6tables, which is rather silly as that is its primary function.
audit.log is full of these:
type=AVC msg=audit(1362937693.732:325): avc: denied { read } for pid=5547 comm="ip6tables" scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=system_u:object_r:sysctl_modprobe_t:s0 tclass=file
type=AVC msg=audit(1362937694.893:326): avc: denied { create } for pid=5571 comm="ip6tables" scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=unconfined_u:system_r:shorewall_t:s0 tclass=rawip_socket
type=AVC msg=audit(1362937694.893:327): avc: denied { read } for pid=5571 comm="ip6tables" scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=system_u:object_r:sysctl_modprobe_t:s0 tclass=file
type=AVC msg=audit(1362937975.641:329): avc: denied { create } for pid=6459 comm="ip6tables" scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=unconfined_u:system_r:shorewall_t:s0 tclass=rawip_socket
type=AVC msg=audit(1362937975.641:330): avc: denied { getopt } for pid=6459 comm="ip6tables" lport=255 scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=unconfined_u:system_r:shorewall_t:s0 tclass=rawip_socket
type=AVC msg=audit(1362937978.305:331): avc: denied { setopt } for pid=6506 comm="ip6tables" lport=255 scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=unconfined_u:system_r:shorewall_t:s0 tclass=rawip_socket
After setting shorewall_t to permissive, I also get these:
type=AVC msg=audit(1362937978.622:363): avc: denied { module_request } for pid=6601 comm="ip6tables" kmod="ip6table_rawpost" scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system
type=AVC msg=audit(1362937979.317:387): avc: denied { search } for pid=6723 comm="sh" name="/" dev=sysfs ino=1 scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir
type=AVC msg=audit(1362937979.317:387): avc: denied { getattr } for pid=6723 comm="sh" path="/sys/module" dev=sysfs ino=583 scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir
type=AVC msg=audit(1362937979.501:392): avc: denied { write } for pid=6853 comm="touch" name="shorewall" dev=dm-0 ino=393662 scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=unconfined_u:object_r:var_lock_t:s0 tclass=file
type=AVC msg=audit(1362937979.501:392): avc: denied { open } for pid=6853 comm="touch" name="shorewall" dev=dm-0 ino=393662 scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=unconfined_u:object_r:var_lock_t:s0 tclass=file
Shorewall itself reports the error as:
Loading Modules...
ERROR: Your kernel/iptables do not include state match support. No version of Shorewall will run on this system
Things worked fine until I rebooted the machine today, so it is something recent that changed.
selinux-policy-3.7.19-195.el6_4.1.noarch
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2013-1598.html
Just got an updated selinux-policy which resulted in complete breakage of shorewall. It seems it is no longer allowed to run iptables/ip6tables, which is rather silly as that is its primary function. audit.log is full of these: type=AVC msg=audit(1362937693.732:325): avc: denied { read } for pid=5547 comm="ip6tables" scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=system_u:object_r:sysctl_modprobe_t:s0 tclass=file type=AVC msg=audit(1362937694.893:326): avc: denied { create } for pid=5571 comm="ip6tables" scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=unconfined_u:system_r:shorewall_t:s0 tclass=rawip_socket type=AVC msg=audit(1362937694.893:327): avc: denied { read } for pid=5571 comm="ip6tables" scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=system_u:object_r:sysctl_modprobe_t:s0 tclass=file type=AVC msg=audit(1362937975.641:329): avc: denied { create } for pid=6459 comm="ip6tables" scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=unconfined_u:system_r:shorewall_t:s0 tclass=rawip_socket type=AVC msg=audit(1362937975.641:330): avc: denied { getopt } for pid=6459 comm="ip6tables" lport=255 scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=unconfined_u:system_r:shorewall_t:s0 tclass=rawip_socket type=AVC msg=audit(1362937978.305:331): avc: denied { setopt } for pid=6506 comm="ip6tables" lport=255 scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=unconfined_u:system_r:shorewall_t:s0 tclass=rawip_socket After setting shorewall_t to permissive, I also get these: type=AVC msg=audit(1362937978.622:363): avc: denied { module_request } for pid=6601 comm="ip6tables" kmod="ip6table_rawpost" scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system type=AVC msg=audit(1362937979.317:387): avc: denied { search } for pid=6723 comm="sh" name="/" dev=sysfs ino=1 scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir type=AVC msg=audit(1362937979.317:387): avc: denied { getattr } for pid=6723 comm="sh" path="/sys/module" dev=sysfs ino=583 scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir type=AVC msg=audit(1362937979.501:392): avc: denied { write } for pid=6853 comm="touch" name="shorewall" dev=dm-0 ino=393662 scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=unconfined_u:object_r:var_lock_t:s0 tclass=file type=AVC msg=audit(1362937979.501:392): avc: denied { open } for pid=6853 comm="touch" name="shorewall" dev=dm-0 ino=393662 scontext=unconfined_u:system_r:shorewall_t:s0 tcontext=unconfined_u:object_r:var_lock_t:s0 tclass=file Shorewall itself reports the error as: Loading Modules... ERROR: Your kernel/iptables do not include state match support. No version of Shorewall will run on this system Things worked fine until I rebooted the machine today, so it is something recent that changed. selinux-policy-3.7.19-195.el6_4.1.noarch