1. Yes. The backport was for 5.15 jammy kernels including HWE
derivatives. The user space SRU was done in bug

  https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1994146

which included Focal. The intent being Focal will only support mqueue if
it is using and HWE kernel.

2. Yes that makes sense. I have added a linux-hwe entry for focal


** Also affects: linux-hwe (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: linux-hwe (Ubuntu Jammy)
       Status: New => Invalid

** Also affects: livecd-rootfs (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: linux-hwe (Ubuntu Focal)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-hwe in Ubuntu.
https://bugs.launchpad.net/bugs/2045384

Title:
  AppArmor patch for mq-posix interface is missing in jammy

Status in linux package in Ubuntu:
  Triaged
Status in linux-hwe package in Ubuntu:
  New
Status in livecd-rootfs package in Ubuntu:
  New
Status in linux source package in Focal:
  New
Status in linux-hwe source package in Focal:
  New
Status in livecd-rootfs source package in Focal:
  New
Status in linux source package in Jammy:
  Fix Released
Status in linux-hwe source package in Jammy:
  Invalid
Status in livecd-rootfs source package in Jammy:
  New

Bug description:
  [ Impact ]

  mq-posix snapd interface does not work on Ubuntu Core 22. It results
  in permission denied even all interfaces are connected.

  Our brandstore customer is using posix message queue for IPC between
  snaps. They added mq-posix interface and connected them properly but
  getting permission denied error.

  The AppArmor patch for posix message queue created for other customer
  did not land in the standard jammy kernel.

  Userspace support for AppArmor message queue handling is already
  present in Ubuntu Core 22, it is just missing from the kernel.

  [ Test Plan ]

   * Create snaps using the posix-mq snapd interface on Ubuntu Core 22 or 
Classic 22.04 with the standard kernel.
   * Example snaps for testing: 
https://code.launchpad.net/~itrue/+git/mqtest-provider and 
https://code.launchpad.net/~itrue/+git/mqtest-client

  [ Where problems could occur ]

   * The patches already exist for 5.15 and have been used on other
  private customer kernels and all kernels released after 22.04, so
  there is already a good track record for this patchset and it
  shouldn't create any issues.

  [ Other Info ]
   
   * This is a time-sensitive issue for a paying customer

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


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

Reply via email to