rootless-docker icon indicating copy to clipboard operation
rootless-docker copied to clipboard

Add AppArmor 4 config

Open AJGranowski opened this issue 1 year ago • 4 comments

What are these changes?

This change resolves #401 by adding an AppArmor profile for rootlesskit on runners using AppArmor 4.

Why are these changes being made?

These changes are required to run ScribeMD/rootless-docker on ubuntu-24.04.

Notes:

  • Added some terms to the dictionary to make CSpell happy.
  • I was getting errors when trying to apply this config on ubuntu-22.04 (which uses AppArmor 3), so I've configured this change to only apply the config on platforms using AppArmor 4 (steps.apparmor.outputs.ABI4_VERSION != '').
  • Tests for this change are in #403.

AJGranowski avatar Oct 26 '24 13:10 AJGranowski

@Kurt-von-Laven friendly ping

AJGranowski avatar Nov 04 '24 18:11 AJGranowski

@mwarres friendly ping

AJGranowski avatar Nov 12 '24 17:11 AJGranowski

I emailed @Kurt-von-Laven on 2025-01-04. I'll relay any of those updates here.

AJGranowski avatar Feb 12 '25 19:02 AJGranowski

I just tested the code in this PR and it works

onyxraven avatar Jun 19 '25 00:06 onyxraven