https://bugs.launchpad.net/snapd/+bug/2042512
Bug #2042512 “snapd hardcodes apparmor check for lxc- and lxd-, ...” : Bugs : snapd
snapd appears to be hardcoding a Go version of https://gitlab.com/apparmor/apparmor/-/blob/master/parser/rc.apparmor.functions?ref_type=heads#L108 in https://github.com/snapcore/snapd/blob/master/cmd/snapd-apparmor/main.go#L95 I've had the apparmor logic fixed here: https://gitlab.com/apparmor/apparmor/-/merge_requests/1112 So snapd needs a matching change. Unfortunately as snapd is under the Canonical CLA, I will not be contributing this otherwise trivial fix myself.