Public bug reported:

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)

** Affects: conmon (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy uec-images

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1974394

Title:
  conmon causes extra newlines in container output logged to journald

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/conmon/+bug/1974394/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to