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

[root] podman events --events-backend=file now hanging forever #15703

Closed
edsantiago opened this issue Sep 8, 2022 · 2 comments
Closed

[root] podman events --events-backend=file now hanging forever #15703

edsantiago opened this issue Sep 8, 2022 · 2 comments
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@edsantiago
Copy link
Collaborator

I seem to have managed to get my laptop in a state where this hangs forever (as in, over 8 minutes):

# podman --log-level=trace events --stream=false --events-backend=file 
....
DEBU[0000] Using OCI runtime "/usr/bin/crun"
INFO[0000] Setting parallel job count to 37
DEBU[0000] Initializing event backend file

It might've been while playing with #15698, but I've rm'ed the dotfile.

lsof on the process shows nothing useful, nor does strace. /run/libpod/events is empty. There is a /run/libpod/alive.lck, but rm'ing it has no effect, it just shows up again later. Only happens with --events-backend=file, journald or default are fine.

Is there a way to find out what podman is waiting for? Seems like an important missing log message.

@Luap99
Copy link
Member

Luap99 commented Sep 8, 2022

Duplicate of #15688? I found this while running your new --format test.
Basically if the file does not exists it just hangs until the file is created.

@edsantiago
Copy link
Collaborator Author

Nice. Yes, that's very clearly the same bug. Thank you!

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 16, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

2 participants