It not so much that apparmor doesn't like spaces as the audit subsystem
doesn't, and since apparmor uses that to do its auditing ...

But you are correct that profiles names shouldn't contain spaces because
of this. The profile name will get updated to probably MongoDB_Compass

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/2112482

Title:
  Please us explicit name for the "MongoDB Compass" profile

Status in apparmor package in Ubuntu:
  New

Bug description:
  Hi,

  while trying to debug my AppArmor installation, I noticed that each
  time my Ubuntu system (and all other, in fact) boots, I see this
  intriguing message in the kernel logs:

  # dmesg | grep 4D6F6E676F444220436F6D70617373
  [    9.019145] audit: type=1400 audit(1749048198.904:8): apparmor="STATUS" 
operation="profile_load" profile="unconfined" 
name=4D6F6E676F444220436F6D70617373 pid=1236 comm="apparmor_parse

  When 4D6F6E676F444220436F6D70617373 is converted from hexadecimal to
  ASCII, it gives the string "MongoDB Compass".

  Therefore, the problem comes from this file:

    /etc/apparmor.d/MongoDB_Compass

  that contains this line:

    profile "MongoDB Compass"

  I guess that AppArmor does not like spaces and prefers to display the
  profile name in hexadecimal.

  Would it be possible to replace the space by another character for the
  sake of logs clarity?

  ProblemType: Bug
  DistroRelease: Ubuntu 25.04
  Package: apparmor 4.1.0~beta5-0ubuntu14
  ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0
  Uname: Linux 6.14.0-15-generic x86_64
  ApportVersion: 2.32.0-0ubuntu5.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  Date: Wed Jun  4 17:55:49 2025
  KernLog:
   
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-6.14.0-15-generic 
root=/dev/mapper/MonVolume-Racine ro vsyscall=none security=apparmor 
preempt=full rcu_nocbs=all amdgpu.runpm=0 quiet splash vt.handoff=7
  SourcePackage: apparmor
  Syslog:
   
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2112482/+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