Cannot change profile for the next exec call: No such file or directory


#1

Hello World

I installed snapd and MicroK8s, followed by restarting of my computer and now getting this:

# snap list
Name      Version    Rev   Tracking  Publisher     Notes
core      16-2.39.3  7270  stable    canonical✓    core
helm      2.14.1     106   stable    snapcrafters  classic
microk8s  v1.15.0    671   stable    canonical✓    classic
slack     3.4.2      14    stable    slack✓        classic
# microk8s.status
cannot change profile for the next exec call: No such file or directory
# microk8s.stop
cannot change profile for the next exec call: No such file or directory
# microk8s.start
cannot change profile for the next exec call: No such file or directory
# 

Please advise.


#2

Can you try systemctl restart apparmor.service ?


#3

apparmor.service is not even started

$ systemctl status apparmor.service 
● apparmor.service - Load AppArmor profiles
   Loaded: loaded (/lib/systemd/system/apparmor.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:apparmor(7)
           https://gitlab.com/apparmor/apparmor/wikis/home/
$

#4

Can you post the output of snap version ?