Bug#982678: systemd: journalctl does not repect SYSTEMD_COLORS=0 - colors are still shown
Jari Aalto
jari.aalto at cante.net
Sat Feb 13 11:11:01 GMT 2021
Package: systemd
Version: 247.3-1
Severity: minor
PROBLEM:
env SYSTEMD_COLORS=0 journalctl -xe ssh
^[[0;1;31mFailed to add match 'ssh': Invalid argument^[[0m
According to manual page, that should not output any colors:
man journalctl
(...)
$SYSTEMD_COLORS
The value must be a boolean. Controls whether colorized
output should be generated. This can be specified to
override the decision that systemd makes based on $TERM and
what the console is connected to.
Kernel: Linux 5.7.0-1-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages systemd depends on:
ii adduser 3.118
ii libacl1 2.2.53-10
ii libapparmor1 2.13.6-9
ii libaudit1 1:3.0-2
ii libblkid1 2.36.1-6
ii libc6 2.31-9
ii libcap2 1:2.44-1
ii libcrypt1 1:4.4.17-1
ii libcryptsetup12 2:2.3.4-2
ii libgcrypt20 1.8.7-2
ii libgnutls30 3.7.0-5
ii libgpg-error0 1.38-2
ii libip4tc2 1.8.7-1
ii libkmod2 28-1
ii liblz4-1 1.9.3-1
ii liblzma5 5.2.5-1.0
ii libmount1 2.36.1-6
ii libpam0g 1.4.0-4
ii libseccomp2 2.5.1-1
ii libselinux1 3.1-2+b2
ii libsystemd0 247.3-1
ii libzstd1 1.4.8+dfsg-1
ii mount 2.36.1-6
ii systemd-timesyncd [time-daemon] 247.3-1
ii util-linux 2.36.1-6
Versions of packages systemd recommends:
ii dbus 1.12.20-1
Versions of packages systemd suggests:
ii policykit-1 0.105-30
pn systemd-container <none>
Versions of packages systemd is related to:
pn dracut <none>
ii initramfs-tools 0.139
ii libnss-systemd 247.3-1
ii libpam-systemd 247.3-1
ii udev 247.3-1
-- debconf-show failed
More information about the Pkg-systemd-maintainers
mailing list