conmon causes extra newlines in container output logged to journald
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
conmon (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
We expect that each line sent to stdout/stderr from a program running within a podman container will be captured as a single journald entry. Instead, conmon is sometimes splitting individual application log lines into many journald entries. This can make journald log entries for podman containers very messy, and difficult to read and reason about.
Here is the link to the relevant conmon GH issue:
https:/
Here is a simple reproducer:
https:/
The bug is fixed in conmon v2.1.0, so a package update is recommended.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: conmon 2.0.25+ds1-1.1
ProcVersionSign
Uname: Linux 5.15.0-30-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
Date: Fri May 20 09:56:51 2022
InstallationDate: Installed on 2022-05-20 (0 days ago)
InstallationMedia: Ubuntu-Server 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220421)
ProcEnviron:
TERM=linux
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: conmon
UpgradeStatus: No upgrade log present (probably fresh install)