I reproduced the issue and came up with a workaround:
https://github.com/snapcore/snapd/pull/5974
The workaround may need additional fix for an unexpected situation (where we need to reload snap-confine's apparmor profile after generating the overlayfs snippet). I'm investigating that now.
I reproduced the issue and came up with a workaround:
https:/ /github. com/snapcore/ snapd/pull/ 5974
The workaround may need additional fix for an unexpected situation (where we need to reload snap-confine's apparmor profile after generating the overlayfs snippet). I'm investigating that now.