Bug 1776873
| Summary: | Incorrect context applied to /etc/sysconfig/iptables.save | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Francisco Peralta <fperalta> |
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
| Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
| Severity: | high | Docs Contact: | Jan Fiala <jafiala> |
| Priority: | medium | ||
| Version: | 8.2 | CC: | dwalsh, fperalta, iptables-maint-list, jafiala, kristofer.rye, lmanasko, lvrabec, mmalik, pasik, plautrba, ssekidde, todoleza, zpytela |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 8.3 | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
.`IPTABLES_SAVE_ON_STOP` now works correctly
Previously, the `IPTABLES_SAVE_ON_STOP` feature of the `iptables` service did not work because files with saved IP tables content received incorrect SELinux context. This prevented the `iptables` script from changing permissions, and the script subsequently failed to save the changes. This update defines a proper context for the `iptables.save` and `ip6tables.save` files, and creates a filename transition rule. As a consequence, the `IPTABLES_SAVE_ON_STOP` feature of the `iptables` service works correctly.
|
Story Points: | --- |
| Clone Of: | 1733542 | Environment: | |
| Last Closed: | 2020-11-04 01:55:53 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1733542 | ||
| Bug Blocks: | 1825061 | ||
|
Comment 1
Phil Sutter
2019-11-30 15:21:29 UTC
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 (selinux-policy bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4528 |