This really is not an easy task: https://forum.snapcraft.io/t/suppres...ntu-core/24224
But They are just audit messages. Even if you have installed the audit daemon, the kernel audit module still generates the messages.
However if you really want to suppress them, and I consider this just south of a nuclear approach.
I am not absolutely certain of the exact configuration used, but you might get away with just deleting audit=1. To check, you should find the compressed configuration file for the current Kernel at /proc/config.gz. If you open it into text editor and search for 'audit', you will find which flags have been set.
So in short just add "audit=0" your kernel params via "/etc/default/grub"
ie:
Code:
sudoedit /etc/default/grub
Add just this "audit=0"
Code:
GRUB_CMDLINE_LINUX_DEFAULT='nowatchdog audit=0 nvme_load=YES zswap.enabled=0 splash quiet splash lo>
GRUB_CMDLINE_LINUX="lsm=landlock,lockdown,yama,integrity,apparmor,bpf nvidia-drm.modeset=1"
Now I don't see them anymore, And Please don't add everything you see in mine above just the "audit=0"
Code:
sudo dmesg|grep audit
[sudo] password for me:
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=91ed2325-ef36-44cb-a2d1-0a6a42ce4a2b rw lsm=landlock,lockdown,yama,integrity,apparmor,bpf nvidia-drm.modeset=1 nowatchdog audit=0 nvme_load=YES zswap.enabled=0 splash quiet splash loglevel=3
[ 0.029452] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=91ed2325-ef36-44cb-a2d1-0a6a42ce4a2b rw lsm=landlock,lockdown,yama,integrity,apparmor,bpf nvidia-drm.modeset=1 nowatchdog audit=0 nvme_load=YES zswap.enabled=0 splash quiet splash loglevel=3
[ 0.029512] audit: disabled (until reboot)
[ 10.427239] systemd-journald[421]: Collecting audit messages is disabled.