If I add the following under /var/lib/snapd/apparmor/profiles/snap.maas.pebble then everything works.
/sys/fs/cgroup/system.slice/snap.maas.pebble.service/cpu.max r,
Maybe we should add /sys/fs/cgroup/system.slice/snap.@{SNAP_NAME}/cpu.max r to system-observe?
If I add the following under /var/lib/ snapd/apparmor/ profiles/ snap.maas. pebble then everything works.
/sys/fs/ cgroup/ system. slice/snap. maas.pebble. service/ cpu.max r,
Maybe we should add /sys/fs/ cgroup/ system. slice/snap. @{SNAP_ NAME}/cpu. max r to system-observe?