-
Notifications
You must be signed in to change notification settings - Fork 140
Closed
Description
container output, as seen in journald, has random newlines inserted.
Steps to reproduce the issue:
There is probably a simpler way to do this, but this is what I did:
cat > /etc/systemd/system/conmon-test.service
[Unit]
Description=test
[Service]
ExecPre=-podman rm conmon-test
ExecStart=podman run -d --rm --name conmon-test --log-driver journald --entrypoint bash centos -c "find /"
systemctl start conmon-testjournalctl -u conmon-test
Describe the results you received:
Output has random newlines. For example:
Feb 27 00:37:34 smithi189 conmon[11377]: /proc/bus/pci/ff/10.6
Feb 27 00:37:34 smithi189 conmon[11377]: /proc/bus/pci/ff/10.7
Feb 27 00:37:34 smithi189 conmon[11377]: /proc/bus/pci/ff/12.0
Feb 27 00:37:34 smithi189 conmon[11377]: /proc/bus/pci/ff/12.1
Feb 27 00:37:34 smithi189 conmon[11377]: /proc
Feb 27 00:37:34 smithi189 conmon[11377]: /bus/pci/ff/13.0
Feb 27 00:37:34 smithi189 conmon[11377]: /proc/bus/pci/ff/13.1
Feb 27 00:37:34 smithi189 conmon[11377]: /proc/bus/pci/ff/13.2
Feb 27 00:37:34 smithi189 conmon[11377]: /proc/bus/pci/ff/13.3
and
Feb 27 00:37:34 smithi189 conmon[11377]: /proc/irq/82/spurious
Feb 27 00:37:34 smithi189 conmon[11377]: /proc/irq/82/smp_affinity
Feb 27 00:37:34 smithi189 conmon[11377]: /proc/irq/82/affinity_hint
Feb 27 00:37:34 smithi189 conmon[11377]: /proc/irq/82/smp_affinity_list
Feb 27 00:37:34 smithi189 conmon[11377]: /proc/irq/82/effective_affinity
Feb 27 00:37:34 smithi189 conmon[11377]: /proc/
Feb 27 00:37:34 smithi189 conmon[11377]: irq/82/effective_affinity_list
Feb 27 00:37:34 smithi189 conmon[11377]: /proc/irq/84
Feb 27 00:37:34 smithi189 conmon[11377]: /proc/irq/84/node
Feb 27 00:37:34 smithi189 conmon[11377]: /proc/irq/84/spurious
Feb 27 00:37:34 smithi189 conmon[11377]: /proc/irq/84/ioat-msix
The number of newlines seems to vary.. in my actual workload (not this test) I get a half dozen per line of output.
Describe the results you expected:
No inserted newlines.
Additional information you deem important (e.g. issue happens only occasionally):
Output of conmon --version:
conmon version 2.0.26
commit:
Output of podman version:
Version: 3.0.1
API Version: 3.0.0
Go Version: go1.15.2
Built: Thu Jan 1 00:00:00 1970
OS/Arch: linux/amd64
Package info (e.g. output of rpm -q podman or apt list podman):
root@smithi189:/etc/systemd/system# apt list conman
Listing... Done
conman/focal 0.2.7-1build2 amd64
I've seen the same with podman 2.2.1 on centos too.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels