rhel8: The output of certain journal logs is corrupted

Solution Verified - Updated -

Issue

This is a regression issue. A malformed log output from a service unit was noticed.
One example is that when libvirt-guests.service is started, the following malformed log appears:

Nov 30 01:49:19 localhost libvirt-guests.sh[232829]: R
Nov 30 01:49:19 localhost libvirt-guests.sh[232848]: R
Nov 30 01:49:19 localhost libvirt-guests.sh[232848]: esuming guest xxxxxx:
Nov 30 01:49:19 localhost libvirt-guests.sh[232928]: esum
Nov 30 01:49:19 localhost libvirt-guests.sh[232829]: e
Nov 30 01:49:19 localhost libvirt-guests.sh[232935]: e
Nov 30 01:49:19 localhost libvirt-guests.sh[232935]: esuming guest xxxxxx:
Nov 30 01:49:19 localhost libvirt-guests.sh[233016]: esum
Nov 30 01:49:19 localhost libvirt-guests.sh[232829]: e

Although the output messages are corrupted like this, systemd-journald process receives intact messages according to strace.

Environment

  • Red Hat Enterprise Linux (RHEL) 8.6
  • systemd, versions before 239-58.el8_6.14

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content