Bug#1060018: systemd: broken kernel log messages on virtual console

dweller dweller at cabin.digital
Thu Jan 4 20:32:42 GMT 2024


Package: systemd
Version: 252.19-1~deb12u1
Severity: normal

Dear Maintainer,

After upgrading from Debian 11 to Debian 12 I noticed that some messages (like
plugging and unplugging USB devices, or firewall blocks) on the virtual console
were gibberish, as if the encoding is wrong[1].

I tried to reconfigure the locale with `dpkg-reconfigure locales` which did not
help. I also tried to install console-data package after reading some of the
other bugs, but that didn't help either. (package removed afterwards)

Looking at output of `journalctl -b` and recording of the console screen, I
noticed that the systemd-fsck@<dev> services include long escape sequences in
the ID of the device (like: "Starting systemd-fsck at dev-disk-by\x2duuid-62becf33\x2d94fe\x2d4da6\x2d89b2\x2dc4a090692ec8.service")
And the kernel messages after it was garbled.[2]

I also found a workaround for now:
Given this is related to escape codes I tried adding "systemd.log_color=0" to
the kernel cmdline, and while it, obviously, got rid of the color it fixed the
issue.

I am including images that show the corruption (related to numbers in brackets).
What other information can I provide to help you in identifying the problem?

Thank you in advance,
- dweller


-- Package-specific info:

-- System Information:
Debian Release: 12.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-17-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd depends on:
ii  libacl1            2.3.1-3
ii  libaudit1          1:3.0.9-1
ii  libblkid1          2.38.1-5+b1
ii  libc6              2.36-9+deb12u3
ii  libcap2            1:2.66-4
ii  libcryptsetup12    2:2.6.1-4~deb12u1
ii  libfdisk1          2.38.1-5+b1
ii  libgcrypt20        1.10.1-3
ii  libkmod2           30+20221128-1
ii  liblz4-1           1.9.4-1
ii  liblzma5           5.4.1-0.2
ii  libmount1          2.38.1-5+b1
ii  libp11-kit0        0.24.1-2
ii  libseccomp2        2.5.4-1+b3
ii  libselinux1        3.4-1+b6
ii  libssl3            3.0.11-1~deb12u2
ii  libsystemd-shared  252.19-1~deb12u1
ii  libsystemd0        252.19-1~deb12u1
ii  libzstd1           1.5.4+dfsg2-5
ii  mount              2.38.1-5+b1

Versions of packages systemd recommends:
ii  dbus [default-dbus-system-bus]   1.14.10-1~deb12u1
ii  systemd-timesyncd [time-daemon]  252.19-1~deb12u1

Versions of packages systemd suggests:
ii  libfido2-1             1.12.0-2+b1
pn  libqrencode4           <none>
pn  libtss2-esys-3.0.2-0   <none>
pn  libtss2-mu0            <none>
pn  libtss2-rc0            <none>
pn  polkitd | policykit-1  <none>
pn  systemd-boot           <none>
pn  systemd-container      <none>
pn  systemd-homed          <none>
pn  systemd-resolved       <none>
pn  systemd-userdbd        <none>

Versions of packages systemd is related to:
ii  dbus-user-session  1.14.10-1~deb12u1
pn  dracut             <none>
ii  initramfs-tools    0.142
ii  libnss-systemd     252.19-1~deb12u1
ii  libpam-systemd     252.19-1~deb12u1
ii  udev               252.19-1~deb12u1

-- Configuration Files:
/etc/systemd/journald.conf changed:
[Journal]
Storage=persistent
Compress=yes


-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.png
Type: image/png
Size: 194079 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20240104/4689f36b/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.png
Type: image/png
Size: 907194 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20240104/4689f36b/attachment-0003.png>


More information about the Pkg-systemd-maintainers mailing list