-
Notifications
You must be signed in to change notification settings - Fork 1
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
#40
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
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
labels
May 21, 2024
jsf9k
changed the title
Use drop-in instead of editing
Use a drop-in config snippet instead of editing May 21, 2024
/etc/systemd/journald.conf
directly/etc/systemd/journald.conf
directly
jsf9k
added a commit
to cisagov/freeipa-server-packer
that referenced
this pull request
May 22, 2024
…journald This is being done for testing purposes and can be reverted once cisagov/ansible-role-persist-journald#40 has been merged.
14 tasks
jsf9k
added
the
blocked
This issue or pull request is awaiting the outcome of another issue or pull request
label
May 24, 2024
3 tasks
jsf9k
removed
the
blocked
This issue or pull request is awaiting the outcome of another issue or pull request
label
Jun 12, 2024
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 the Docker images we use for Molecule testing are now systemd-enabled.
jsf9k
force-pushed
the
improvement/use-drop-in
branch
from
June 12, 2024 23:08
ac0d0b0
to
d2410f2
Compare
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 #42 for more details.
jsf9k
requested review from
dav3r,
felddy,
jasonodoom and
mcdonnnj
as code owners
June 18, 2024 15:36
dv4harr10
approved these changes
Jun 20, 2024
mcdonnnj
approved these changes
Jun 20, 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.
LGTM ✔
jsf9k
added a commit
to cisagov/freeipa-server-packer
that referenced
this pull request
Jun 20, 2024
…urnald We can do this now that cisagov/ansible-role-persist-journald#40 has been merged.
jsf9k
added a commit
to cisagov/freeipa-server-packer
that referenced
this pull request
Sep 24, 2024
…journald This is being done for testing purposes and can be reverted once cisagov/ansible-role-persist-journald#40 has been merged.
jsf9k
added a commit
to cisagov/freeipa-server-packer
that referenced
this pull request
Sep 24, 2024
…urnald We can do this now that cisagov/ansible-role-persist-journald#40 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