I created a snap in strict mode to set timezone on Ubuntu core.
I used interface timezone-control and command timedatectl.
While executing timedatectl command, it gives error…
AVC apparmor=“DENIED” operation=“exec” profile=“snap.xxxxxx.yyyyyy” name="/usr/bin/timedatectl" pid=25663 comm=“sh” requested_mask=“x” denied_mask=“x” fsuid=0 ouid=0
How to resolve this?