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

Use /bin/true to disable filesystems #46

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

technowhizz
Copy link
Contributor

Overall Review of Changes:

The /bin/false command returns non-zero, hence the loader may log this event as an error. To avoid log errors, we should use /bin/true instead.

Additionally some compliance testing tools check for the presence of /bin/true.

Issue Fixes:
Please list (using linking) any open issues this PR addresses

Enhancements:
Please list any enhancements/features that are not open issue tickets

How has this been tested?:
Tested on Ubuntu 22.04 and ends in same result.

The /bin/false command returns non-zero, hence the loader may log this
event as an error. To avoid log errors, we should use /bin/true instead.

Additionally some compliance testing tools check for the presence of
/bin/true.

Signed-off-by: technowhizz <[email protected]>
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Congrats on opening your first pull request and thank you for taking the time to help improve Ansible-Lockdown!
Please join in the conversation happening on the Discord Server as well.

Copy link
Member

@uk-bolly uk-bolly left a comment

Choose a reason for hiding this comment

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

Great catch

@uk-bolly
Copy link
Member

Hi @technowhizz

Thanks for picking up on this and taking the time to raise and supply the fix. This is now merged :)

Kindest

uk-bolly

@uk-bolly uk-bolly merged commit 1b5b62d into ansible-lockdown:devel Jul 17, 2023
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