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

Rule: mount_option_boot_efi_nosuid, remove "uefi" platform #12958

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

evgenyz
Copy link
Member

@evgenyz evgenyz commented Feb 1, 2025

Description:

  • We should not care if the system is UEFI or non-UEFI at the moment of check/remediation and fix the options if the entry is configured.

Rationale:

Review Hints:

  • See logs of the system state inside osbuild env. in the linked issue.

The rule does not care about /sys/firmware/efi, so we should not
use existence of this directory as a guardian.

Moreover following the logic of "mount_option" template the rule
will check and remediate options only if mount point
is active/present in /etc/fstab. That's enough to not interfere
with non-UEFI systems.
Copy link

codeclimate bot commented Feb 1, 2025

Code Climate has analyzed commit e3667e1 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 61.9% (0.0% change).

View more on Code Climate.

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.

mount_option_boot_efi_nosuid is notapplicable during OSBuild remediation on an UEFI system
1 participant