Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 5765 - Improve installer selinux handling #5766

Merged
merged 1 commit into from May 16, 2023

Conversation

mreynolds389
Copy link
Contributor

Description:

When labeling ports we retry on error, and we should do the same when labeling files

relates: #5765

Description:  When labeling ports we retry on error, and we should do the same
when labeling files

relates: 389ds#5765

Reviewed by: ?
Copy link
Member

@droideck droideck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

stderr = ensure_str(result.stderr)
if result.returncode != 0:
log.error(f"ERROR CMD: {args} ; STDOUT: {stdout} ; STDERR: {stderr}")
rc = 0
Copy link
Member

@droideck droideck May 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While you are there, could you please fix the docstring typo I've just noticed (wrong type label):

    :param label: The label to set (None to unset a label)
    :type path: str

@mreynolds389 mreynolds389 merged commit 1b2458f into 389ds:main May 16, 2023
189 of 193 checks passed
@mreynolds389 mreynolds389 deleted the selinux-installer branch May 16, 2023 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants