-
Notifications
You must be signed in to change notification settings - Fork 10
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 a drop-in config snippet instead of editing /etc/systemd/journald.conf
directly
#58
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jsf9k
added a commit
to cisagov/freeipa-server-packer
that referenced
this pull request
May 22, 2024
…ch-agent This is being done for testing purposes and can be reverted once cisagov/ansible-role-cloudwatch-agent#58 has been merged.
14 tasks
3 tasks
49a31b1
to
bcd1456
Compare
2b7e839
to
bddd063
Compare
6 tasks
This is the method that is preferred in the documentation: https://man7.org/linux/man-pages/man5/journald.conf.5.html#CONFIGURATION_DIRECTORIES_AND_PRECEDENCE
… files directly This is a better way to test that the configuration changes are actually being utilized by systemd-journald.
All platforms we support use systemd, so we need not use a handler to call systemctl daemon-reload.
systemd-journald.socket fails to start under QEMU emulation starting with systemd version 256, so starting with that version the systemd-journald service cannot be restarted either. Right now we support this case, but we can't test it until we have native ARM64 runners. See issue #61 for more details.
04e817b
to
b0c30a7
Compare
mcdonnnj
approved these changes
Jun 18, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense. Two small bits of feedback for you but otherwise LGTM ✔
Co-authored-by: Nick <[email protected]>
Co-authored-by: Nick <[email protected]>
0e7990c
to
b6766b4
Compare
dv4harr10
approved these changes
Jun 20, 2024
jsf9k
added a commit
to cisagov/freeipa-server-packer
that referenced
this pull request
Jun 20, 2024
…-agent We can do this now that cisagov/ansible-role-cloudwatch-agent#58 has been merged.
jsf9k
added a commit
to cisagov/freeipa-server-packer
that referenced
this pull request
Sep 24, 2024
…ch-agent This is being done for testing purposes and can be reverted once cisagov/ansible-role-cloudwatch-agent#58 has been merged.
jsf9k
added a commit
to cisagov/freeipa-server-packer
that referenced
this pull request
Sep 24, 2024
…-agent We can do this now that cisagov/ansible-role-cloudwatch-agent#58 has been merged.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
improvement
This issue or pull request will add or improve functionality, maintainability, or ease of use
test
This issue or pull request adds or otherwise modifies test code
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🗣 Description
This pull request modifies the Ansible role to use a drop-in config snippet instead of editing
/etc/systemd/journald.conf
directly. It also reworks themolecule
test code.💭 Motivation and context
/etc/systemd/journald.conf
does not exist on Fedora 40.systemd-analyze cat-config
is a better way (than checking config files directly) to verify that the configuration changes are actually being utilized bysystemd-journald
.🧪 Testing
All automated tests pass.
✅ Pre-approval checklist