Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

journald: add examples to show user journal logs #297

Merged
merged 4 commits into from
Apr 5, 2023
Merged

Conversation

tormath1
Copy link
Contributor

@tormath1 tormath1 commented Mar 30, 2023

Let's provide some documentation for user journal.

Note: wait for flatcar-archive/coreos-overlay#2553

@tormath1 tormath1 marked this pull request as ready for review March 30, 2023 13:39
@tormath1 tormath1 requested a review from a team March 30, 2023 13:40
@tormath1 tormath1 force-pushed the tormath1/journald branch from db1e9a3 to bb6da1e Compare March 31, 2023 07:30
@@ -190,6 +193,9 @@ storage:

[Install]
WantedBy=default.target
- path: /etc/userdb/flatcar:systemd-journal.membership
Copy link
Contributor

Choose a reason for hiding this comment

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

Since we had to add systemd-journal as regular group to make tmpfiles work for /var/log/journal, I think we can also use the normal Ignition group adding in this example.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Perfect! Just pushed.

- name: flatcar
storage:
files:
- path: /etc/userdb/flatcar:systemd-journal.membership
Copy link
Contributor

Choose a reason for hiding this comment

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

(Same here)

tormath1 and others added 4 commits April 5, 2023 10:39
Signed-off-by: Mathieu Tortuyaux <[email protected]>
Co-authored-by: Kai Lüke <[email protected]>
Signed-off-by: Mathieu Tortuyaux <[email protected]>
Signed-off-by: Mathieu Tortuyaux <[email protected]>
Co-authored-by: Kai Lüke <[email protected]>
@tormath1 tormath1 force-pushed the tormath1/journald branch from c3e3225 to 1bc3053 Compare April 5, 2023 08:40
@tormath1 tormath1 merged commit d1f63a8 into main Apr 5, 2023
@tormath1 tormath1 deleted the tormath1/journald branch April 5, 2023 08:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants