conmon causes extra newlines in container output logged to journald

Bug #1974394 reported by Cory Snyder
6
This bug affects 1 person
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://github.com/containers/conmon/issues/242

Here is a simple reproducer:
https://github.com/containers/conmon/issues/242#issuecomment-788448136

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
ProcVersionSignature: Ubuntu 5.15.0-30.31-generic 5.15.30
Uname: Linux 5.15.0-30-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
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_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: conmon
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Cory Snyder (cfsnyder1) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.