Skip to content

serial tty has too verbose console log level #105

@bam80

Description

@bam80

Describe the bug
On newly installed system, if user logins via serial TTY (e.g. in VM), the terminal is polluted by debug log messages immediately after the login.

To Reproduce

  1. Install the system to VM with serial TTY console
  2. Boot it and login

Expected behavior
A shell prompt should appear.

Actual behavior
The full screen is polluted with debug messages immediately, before the prompt even appears.

OS version:

● fedora-iot:fedora/stable/x86_64/iot                                                                    
Version: 41.20241027.0 (2024-10-27T21:40:59Z)                                          
Commit: bdd952cd0d5f980407644852dbc6ccce7909e61af3f90056860a1ce0501a01f1              

Additional context
So the console log level is set to maximum by default: debug-level messages (7):

$ cat /proc/sys/kernel/printk
7       4       1       7

For comparison, on Fedora SB and all the other distros I faced, the default log level is err (3):

$ cat /proc/sys/kernel/printk
3	4	1	7

Sorry I don't know where the default log level comes from, so can't suggest a patch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions