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

tests/kola: Add lockdown LSM test #3326

Open
wants to merge 1 commit into
base: testing-devel
Choose a base branch
from

Conversation

travier
Copy link
Member

@travier travier commented Jan 20, 2025

@travier travier force-pushed the lockdown-lsm branch 2 times, most recently from 4f6d317 to 709c6cd Compare January 21, 2025 10:27
#!/bin/bash
## kola:
## exclusive: false
## description: Verify that the lockdown LSM is set to integrity.
Copy link
Member

Choose a reason for hiding this comment

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

This needs some special tagging so it only runs on Secure Boot, but I don't think we have something yet, so it'll likely need some kola work.

And also architectures: x86_64.

@travier
Copy link
Member Author

travier commented Feb 20, 2025

Will rebase / update once https://bodhi.fedoraproject.org/updates/FEDORA-2025-cca2fcc70c lands in FCOS.

@travier
Copy link
Member Author

travier commented Mar 10, 2025

Updated to account for both Secure Boot and non-SB runs. This should work on all architectures but running it only on x86_64 and aarch64 makes sense.

This needs some special tagging so it only runs on Secure Boot, but I don't think we have something yet, so it'll likely need some kola work.

Hum, do you mean that we should add a special kola tag so that it runs this test in a SB enabled VM? We indeed don't run the general kola tests with SB enabled AFAIK.

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.

2 participants