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

RHEL-07-010492 referencing explicit EFI path #385

Closed
danbarr opened this issue Sep 16, 2021 · 2 comments
Closed

RHEL-07-010492 referencing explicit EFI path #385

danbarr opened this issue Sep 16, 2021 · 2 comments
Labels

Comments

@danbarr
Copy link
Contributor

danbarr commented Sep 16, 2021

Describe the Issue
The updated RHEL-07-010492 block in fix-cat2.yml in v1.3.1 explicitly references /boot/efi/EFI/redhat/grub.cfg, which will fail on CentOS systems.

Expected Behavior
Task should succeed on CentOS.

Actual Behavior
Task fails on CentOS due to nonexistent path/file.

Control(s) Affected
RHEL-07-010492

Environment (please complete the following information):

  • Ansible Version: 2.9.25
  • Host Python Version: Python 3.6.8
  • Ansible Server Python Version: same
  • Host OS: CentOS 7.9 in UEFI mode

Possible Solution
Replace:

path: /boot/efi/EFI/redhat/grub.cfg

With:
path: "{{ rhel7stig_bootloader_path }}/grub.cfg"

@danbarr danbarr added the bug label Sep 16, 2021
@danbarr danbarr changed the title referencing explicit EFI path RHEL-07-010492 referencing explicit EFI path Sep 16, 2021
uk-bolly added a commit that referenced this issue Sep 27, 2021
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
@uk-bolly
Copy link
Member

Hi Dan

As always thank you for highlighting this issue and supplying a resolution. I have raised a new PR for this today and hope to get this pushed through asap.

many thanks again

uk-bolly

@uk-bolly
Copy link
Member

Hi @danbarr

I just noticed i closed this in error a little early before the PR was approved. The fix is now in dev and will be rolled in main hopefully later today.
Please feel free to reopen if i have missed anything.

Many thanks

uk-bolly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants