-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Podman events with journald backend shows old events #3616
Comments
It seems like it's always the last 6 events that occurred, so this is probably something on systemd's side? |
i doubt it; probably my mistake. I'll take a peek. One problem with the events though is we have to read the entire journal each time; I don't believe there is a way to get around that. |
Does journalctl do this? |
it seems like the seek tail api is not honoring things. im looking into it but havent come up with a reason/solution yet. |
I am not sure how actively that package is maintained at this point. |
it looks like the core-os systemd library has some issue when using seektail and add match. this patch works around that shortcoming for the time being. Fixes: containers#3616 Signed-off-by: baude <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
From the manpages of
podman events
:If no since or until values are provided, only new events will be shown.
However, when I run
podman events
(F30, journald backend), I get old events.Steps to reproduce the issue:
Unclear what prior steps are, but it is definitely necessary to create some events - start containers, remove them, etc. Ensure that the journald backend is set in the config file before you do this.
Run
podman events
with no argumentsDescribe the results you received:
(Couple events from Friday, plus a refresh from my restarting the system this morning).
Describe the results you expected:
No events printed until new commands that generate events are run
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Fedora packaged 1.4.4
The text was updated successfully, but these errors were encountered: