I see the same errors in the console.

Since I don't have SELinux enabled, I managed to get rid of it by
removing "security=selinux" from the GRUB_CMDLINE_LINUX variable in
/etc/default/grub and updating grub again with "update-grub".

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to audit in 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

Status in audit package in Ubuntu:
  Invalid

Bug description:
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/audit/+bug/2069464/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to