selinux.port_policy_present state can add but not modify #55687
Labels
Abandoned
Bug
broken, incorrect, or confusing behavior
help-wanted
Community help is needed to resolve this
severity-low
4th level, cosemtic problems, work around exists
Description of Issue
The selinux.port_policy_present state does not modify SELinux Manage Policy if needed, only adds (or deletes using when using selinux.port_policy_absent) the selinux port.
Setup
Two example states for selinux.port_policy_present:
Steps to Reproduce Issue
Applying the states results in:
Inspecting the system prior to applying the highstate:
Running the system commands by hand:
After running the semanage port command by hand with the --modify option, then the highstate for port 8000 is true.
Versions Report
Master:
Minion:
(Provided by running
salt --versions-report
. Please also mention any differences in master/minion versions.)The text was updated successfully, but these errors were encountered: