Fresh install of Ubuntu 24.04.1 LTS gives the following

# aa-logprof

ERROR: Operation {'runbindable'} cannot have a source. Source =
AARE('/')

Implementing the fix from 3ff3a8a467fff1d4b234949e4dd3db618a9f8ed2
commit in /etc/apparmor.d/abstractions/passt

-  mount options=(rw, runbindable) /,
+  mount options=(rw, runbindable) -> /,

gives the following

# aa-logprof

ERROR: Can't parse mount rule mount             ""      -> "/tmp/",

Commenting out that line in /etc/apparmor.d/abstractions/passt gives the
following

# aa-logprof

ERROR: Can't parse mount rule mount             ""      -> "/proc/",


Commenting out that line from /etc/apparmor.d/abstractions/pasta gives the 
following

# aa-logprof 
Updating AppArmor profiles in /etc/apparmor.d.
Reading log entries from /var/log/syslog.
Complain-mode changes:
Enforce-mode changes:

-- 
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/2065685

Title:
  aa-logprof fails with 'runbindable' error

Status in apparmor package in Ubuntu:
  Fix Committed

Bug description:
  On the latest LTS, aa-logprof does nothing other than fail with the
  error

      ERROR: Operation {'runbindable'} cannot have a source. Source =
  AARE('/')

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: apparmor-utils 4.0.0-beta3-0ubuntu3
  ProcVersionSignature: User Name 6.8.0-31.31-generic 6.8.1
  Uname: Linux 6.8.0-31-generic x86_64
  ApparmorStatusOutput:
   Error: command ['/usr/sbin/apparmor_status'] failed with exit code 4: You do 
not have enough privilege to read the profile set.
   apparmor module is loaded.
  ApportVersion: 2.28.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CloudArchitecture: x86_64
  CloudBuildName: server
  CloudID: brightbox
  CloudName: brightbox
  CloudPlatform: ec2
  CloudRegion: gb1s-
  CloudSerial: 20240423
  CloudSubPlatform: metadata (http://169.254.169.254)
  Date: Tue May 14 12:29:17 2024
  PackageArchitecture: all
  ProcKernelCmdline: BOOT_IMAGE=/vmlinuz-6.8.0-31-generic 
root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyS0
  SourcePackage: apparmor
  Syslog:
   2024-05-13T10:19:58.724594+00:00 srv-9vqc0 dbus-daemon[838]: [system] 
AppArmor D-Bus mediation is enabled
   2024-05-13T10:22:32.966857+00:00 srv-9vqc0 dbus-daemon[666]: [system] 
AppArmor D-Bus mediation is enabled
   2024-05-13T10:25:00.210572+00:00 srv-9vqc0 dbus-daemon[1044]: [session 
uid=1000 pid=1044] AppArmor D-Bus mediation is enabled
  UpgradeStatus: No upgrade log present (probably fresh install)

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