Cannot read/write long events from journald (affects docker compat API /containers/(id or name)/wait
)
#16834
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
It is not possible to read/write some events for entries with huge labels map.
Log contains:
There are two issues involved, one read issue and one write issue:
Read issue: default limit (65536B) on how much from log entry is read.
Longer entries are truncated breaking JSON parsing.
Write issue: SELinux prevents from writing long entries to journald.
This became especially severe after #15633 .
After the change the
wait
call fornext-exit
will hang indefinitely, because the exit event is not read./kind bug
related to:
The text was updated successfully, but these errors were encountered: