Hello,
I know this issue has been discussed many times on this forum but none of the methods made it works for me. So here the info about my OS / config :
$snap --version
snap 2.52.1
snapd 2.52.1
series 16
kali 2021.3
kernel 5.14.0-kali2-amd64
sudo apparmor_status
apparmor module is loaded.
15 profiles are loaded.
15 profiles are in enforce mode.
/usr/bin/man
/usr/lib/ipsec/charon
/usr/lib/ipsec/stroke
/usr/lib/snapd/snap-confine
/usr/lib/snapd/snap-confine//mount-namespace-capture-helper
/usr/lib/x86_64-linux-gnu/lightdm/lightdm-guest-session
/usr/lib/x86_64-linux-gnu/lightdm/lightdm-guest-session//chromium
/usr/sbin/haveged
/usr/sbin/ntpd
lsb_release
man_filter
man_groff
nvidia_modprobe
nvidia_modprobe//kmod
tcpdump
0 profiles are in complain mode.
0 profiles are in kill mode.
0 profiles are in unconfined mode.
1 processes have profiles defined.
1 processes are in enforce mode.
/usr/sbin/haveged (913)
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.
0 processes are in mixed mode.
0 processes are in kill mode.
Both Snapd and Apparmor are enabled. I’ve tried to reinstall Snapd several times.
apparmor_parser -r /var/lib/snapd/apparmor/profiles/snap-confine*
apparmor_parser -r /etc/apparmor.d/*snap-confine*
Those command lines make the error disappear but create another one :
cannot change profile for the next exec call: No such file or directory
And the change are reverted after reboot.
Does anyone know what I am missing ?