Hi,
After creating my own snap, whenever I want to install my snap with the command “sudo snap install mysnap --devmode”, I encounter the following error:
- Run install hook of "myapplication" snap if present (run hook "install":
-----
update.go:85: cannot change mount namespace according to change mount
(/var/lib/snapd/hostfs/boot /boot none bind,ro 0 0): permission denied
cannot update snap namespace: cannot open directory "/bin": not a directory
snap-update-ns failed with code 1
-----)
I read the related threads to this error, but I couldn’t find something to help me for solving the problem.