Public bug reported: On Ubuntu 24.04 installed auditd=1:3.1.2-2.1build1, The audit log starts printing on the console the error of audit: error in audit_log_object_context when deactivate apparmor and activate selinux as:
$ systemctl stop AppArmor $ systemctl disable AppArmor $ selinux-activate The easier way to reproduce this issue: $ autrace /bin/ls the dmesg output: [ 1334.743586] audit_panic: 14 callbacks suppressed [ 1334.743589] audit: error in audit_log_object_context [ 1334.743609] audit: error in audit_log_object_context [ 1334.744685] audit: error in audit_log_object_context [ 1334.744736] audit: error in audit_log_object_context [ 1334.744846] audit: error in audit_log_object_context [ 1334.745896] audit: error in audit_log_object_context [ 1334.747746] audit: error in audit_log_object_context [ 1334.748660] audit: error in audit_log_object_context [ 1334.748903] audit: error in audit_log_object_context [ 1334.749164] audit: error in audit_log_object_context Installed selinux-basics=0.5.9 Linux Kernel: 6.8.0 Github issue for auditd is opened here: https://github.com/linux- audit/audit-userspace/issues/378 ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: auditd 1:3.1.2-2.1build1 ProcVersionSignature: Ubuntu 6.8.0-35.35-generic 6.8.4 Uname: Linux 6.8.0-35-generic x86_64 ApportVersion: 2.28.1-0ubuntu3 Architecture: amd64 CasperMD5CheckResult: pass Date: Fri Jun 14 00:33:39 2024 InstallationDate: Installed on 2024-05-29 (15 days ago) InstallationMedia: Ubuntu-Server 24.04 LTS "Noble Numbat" - Release amd64 (20240423) ProcEnviron: LANG=C.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color SourcePackage: audit UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: audit (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2069464 Title: On Ubuntu 24.04 installed auditd=1:3.1.2-2.1build1, The audit log starts printing on the console the error of audit: error in audit_log_object_context when deactivate apparmor and activate selinux To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/audit/+bug/2069464/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs