Skip to content

Systemd non-error message ignores quiet parameter #39157

@Zepmann

Description

@Zepmann

systemd version the issue has been seen with

258-4

Used distribution

Arch Linux

Linux kernel version used

6.16.8-arch3-1

CPU architectures issue was seen on

x86_64

Component

systemd

Expected behaviour you didn't see

Credit to @x140x1n, who created the first bug report that was closed too quickly.

When a system is booted with kernel command-line parameters "quiet" and a low enough log level, systemd should not show non-error, non-warning messages.

Unexpected behaviour you saw

The message I see during early boot is described by and discussed in #39150. As noted by @yuwata in that issue, this is just a log message. Not a warning, not an error.

I see this message with different tested kernel log levels. Descriptions based on this:

  • The first log level is 0, identified by the KERN_EMERG string. This is the highest level in order of severity: it’s adopted by messages about system instability or imminent crashes.
  • Loglevel 1, or KERN_ALERT it’s what comes immediately after. This level is used in situations where the user attention is immediately required.
  • Loglevel 3, also identified by the KERN_ERR string, it’s the next in the scale. Messages adopting this level are often used to notify the user about non-critical errors, as for example a failed or problematic device recognition, or more generally driver-related problems.

The message is not an error, not even a non-critical error. The system works fine. There is no reason to show this message. I suspect that the kernel log level and quiet parameters are ignored.

Steps to reproduce the problem

The way I tested:

  1. Install Arch Linux on a computer with a TPM and (likely) an older firmware missing a certain non-critical TPM feature. I tested this with EFISTUB and a unified kernel image.
  2. Boot the system with the TPM enabled in the firmware.
  3. Observe the message during boot.

This is especially annoying with a "quiet" Plymouth boot, since the message cannot be avoided unless the TPM is disabled/hidden, which is an unacceptable workaround for obvious reasons.

Additional program output to the terminal or log subsystem illustrating the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Programming errors, that need preferential fixingpid1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions