AppArmor 4.1.0-beta1 contains an ABI break for aa_log_record

Bug #2083435 reported by Ryan Lee
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppArmor
New
Critical
Maxime Bélair
apparmor (Ubuntu)
Status tracked in Oracular
Oracular
Fix Committed
Undecided
Unassigned

Bug Description

Commit 3c825eb001d33bb6f2480c4f78df03aee4c40396 in the Gitlab upstream adds a field called `execpath` to the `aa_log_record` struct. This field was added in the middle of the struct instead of the end, causing an ABI break in libapparmor without a corresponding major version number bump. This commit landed between v4.0.3 and v4.1.0-beta1, and unfortunately, Oracular currently packages v4.1.0-beta1.

Thus, we need to land a bugfix patch to move the `execpath` field to the end of the struct ASAP to prevent an ABI break from making it into the Oracular release. The patch is attached below and is available as commit c86c87e8868c72e5ab2084b5bf783cd5ca800a9b in the Gitlab repo.

Tags: oracular
Ryan Lee (rlee287)
summary: - AppArmor 4.1.0-beta contains an ABI break for aa_log_record
+ AppArmor 4.1.0-beta1 contains an ABI break for aa_log_record
no longer affects: apparmor (Ubuntu)
Ryan Lee (rlee287)
tags: added: oracular
Revision history for this message
Maxime Bélair (mbelair) wrote :
Changed in apparmor:
assignee: nobody → Maxime Bélair (mbelair)
Revision history for this message
Ryan Lee (rlee287) wrote :

Gitlab MR has been merged, with commit c86c87e8868c72e5ab2084b5bf783cd5ca800a9b fixing the ABI break. Patch is attached.

description: updated
Revision history for this message
Ryan Lee (rlee287) wrote :
description: updated
Ryan Lee (rlee287)
description: updated
description: updated
Revision history for this message
Alex Murray (alexmurray) wrote :

I typod the magic LP bug reference in the changelog but this was upload to oracular earlier and just moved into -proposed:

apparmor (4.1.0~beta1-0ubuntu3) oracular; urgency=medium

  * Add patch from upstream to fix unintentional ABI break (LP :#2083435)
  - d/p/u/fix-abi-break-record-for-aa-log-record.patch

https://launchpad.net/ubuntu/+source/apparmor/4.1.0~beta1-0ubuntu3

Changed in apparmor (Ubuntu Oracular):
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.