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

Change fapolicyd rules to full replacement rather than append #6309

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

bordenit
Copy link
Contributor

@bordenit bordenit commented Jul 12, 2024

Remove the append for the fapolicyd rules.

Proposed Changes

Don't duplicate the fapolicyd rules in the rules file if install.sh script is ran more than once. It should be unlikely that anyone would use this rules file for anything other than RKE2, as the naming of it is specifically for RKE2. This should be a total replacement and not an append. It should be confident enough that it is all inclusive.

Types of Changes

Verification

Run the install script multiple times on a host with fapolicyd enabled. Note that it no longer continuously appends duplicate rules.

Testing

Linked Issues

User-Facing Change


Further Comments

Remove the append.
@bordenit bordenit requested a review from a team as a code owner July 12, 2024 01:41
@bordenit bordenit changed the title Update install.sh Change fapolicyd rules to full replacement rather than append Jul 12, 2024
@brandond brandond merged commit 505630f into rancher:master Jul 15, 2024
1 check passed
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.

3 participants