You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pyinfra/operations/selinux.py, port() looks up str(port_num)
As a result port labels are never found When sepolicy command is not available, and selinux.port always emits a semanage port -m command even when the port is already correctly labeled.
Affected files:
pyinfra/facts/selinux.py,SEPorts.process— stores port numbers asintkeyspyinfra/operations/selinux.py,port()looks upstr(port_num)As a result port labels are never found When
sepolicycommand is not available, andselinux.portalways emits asemanage port -mcommand even when the port is already correctly labeled.