Skip to content

"audit" kernel message spam after updating systemd #28554

@plomari

Description

@plomari

systemd version the issue has been seen with

254~rc3-3 (?)

Used distribution

Debian unstable

Linux kernel version used

5.10.179

CPU architectures issue was seen on

x86_64

Component

systemd

Expected behaviour you didn't see

No log spam.

Unexpected behaviour you saw

After a systemd update, without reboot and without kernel update, "audit" messages started appearing in the kernel log. There are many different types of messages. Some happen while doing something (like logging in with a user with su, or crashing a program), some come in regular intervals without interacting with the system. I added an example below.

Why, and how do I stop them?

I don't know what this "audit" mechanism is good for, but I don't want them in my logs. At least not all of them. They hide more important messages.

Steps to reproduce the problem

Travel back in time to some weeks ago and run apt dist-upgrade on Debian unstable.

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

audit: type=1106 audit(1690548901.216:2783): pid=3949631 uid=0 auid=0 ses=9484 msg='op=PAM:session_close grantors=pam_loginuid,pam_env,pam_env,pam_permit,pam_unix,pam_limits acct="root" exe="/usr/sbin/cron" hostname=? addr=? terminal=cron res=success'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Programming errors, that need preferential fixingpid1

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions