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

Label additional FIPS binaries #222

Merged

Conversation

arnaldo2792
Copy link
Contributor

@arnaldo2792 arnaldo2792 commented Oct 25, 2024

Issue number:
Related: bottlerocket-os/bottlerocket#1667

Description of changes:

The FIPS binaries created for migrator, cfsignal and shibaken received the wrong label. For migrator, upgrades failed with an SELinux denial:

AVC avc:  denied  { execute } for  pid=1410 comm="tokio-runtime-w" dev="tmpfs" ino=3072 scontext=system_u:system_r:system_t:s0 tcontext=system_u:object_r:any_t:s0 tclass=file permissive=0

Testing done:

  • aws-k8s-1.30-fips (defined in my local BoB repo) boots and joins a cluster
  • aws-k8s-1.30-fips successfully performs in-place upgrades

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Fix label for `migrator`, `cfsignal` and `shibaken` when the FIPS
binaries from `/usr/fips/` are used

Signed-off-by: Arnaldo Garcia Rincon <[email protected]>
@arnaldo2792 arnaldo2792 merged commit 0459f31 into bottlerocket-os:develop Oct 28, 2024
2 checks 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