Ubuntu – snap apps now won’t start with “cannot perform readlinkat()” error

18.04dockersnap

I have at least spotify and docker installed via snap. Both of these fail with the same error message:

"cannot perform readlinkat() on the mount namespace file descriptor of the init process: Permission denied".

Some other snap apps work for me.

I am using 18.04 and have applied all updates. Neither rebooting nor reinstalling fix the issue. And nor does reinstalling snap itself.

I am unsure as to how to go about fixing the issue.

Best Answer

sudo snap refresh core --edge

Run the above command to update the snap core package.

For me after I updated my kernel to Linux 4.18 it did not work with the same error message but after running the above command all works fine.

You may need to reboot.