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

Extra space in regex causes gnome tools to not work #216

Closed
tedunder237 opened this issue Jul 10, 2024 · 2 comments
Closed

Extra space in regex causes gnome tools to not work #216

tedunder237 opened this issue Jul 10, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@tedunder237
Copy link

Describe the Issue
An extra space in the regex is causing various gnome tools to not work properly

Expected Behavior
Gnome tools to work properly

Actual Behavior
Extra space is causing gnome tools to emit an error and not save configurations

Control(s) Affected
1.8.4

Environment (please complete the following information):

  • branch being used: 1.3.1
  • Ansible Version: 2.4.19
  • Host Python Version: 3.9.18
  • Additional Details: Rocky 9

Possible Solution
Change the following lines in tasks/section_1/cis_1.8.x.yml, line 92-93
Current:

            - { regexp: '^user-db', line: 'user-db: user' }
            - { regexp: '^system-db', line: 'system-db: local' }

To:

            - { regexp: '^user-db', line: 'user-db:user' }
            - { regexp: '^system-db', line: 'system-db:local' }

Tested on Rocky 9

@tedunder237 tedunder237 added the bug Something isn't working label Jul 10, 2024
@uk-bolly uk-bolly self-assigned this Jul 11, 2024
@uk-bolly
Copy link
Member

hi @tedunder237

Thank you for taking the time to raise this issue, it always helps to get the details you have provided.
I am hoping to get this resolved and wityh a couple of other changes into the devel branch asap.

Many thanks

uk-bolly

uk-bolly added a commit that referenced this issue Jul 12, 2024
@uk-bolly
Copy link
Member

hi @tedunder237

As you may have seen, this was released to devel and is now in the main branch and should be resolved. I will close this issue, please reopen if you still see issues.

many thanks

uk-bolly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants