Description: Skip labelling ports that use the the standard port numbers (389, 636). https://pagure.io/389-ds-base/issue/49814 Reviewed by: mreynolds(one line commit rule)
@@ -184,7 +184,7 @@ def selinux_label_port(port, remove_label=False):
:raises: ValueError: Error message
"""
- if not selinux.is_selinux_enabled():
+ if not selinux.is_selinux_enabled() or port == 389 or port == 636:
return
label_set = False