Hello, I recently installed snapd in order to get live patch management for my server and get a strange error message I cannot find anywhere. After I installed snapd and the livepatch package, when trying to enable it with the token I received I get this error:
cannot perform readlinkat() on the mount namespace file descriptor of the init process: Permission denied
Would appreciate any help, thanks.
Hello, I’ll try to help you.
Can you start by providing the output of
snap version? What is your environment? Is this a physical machine or a cloud virtual machine?
I’m having the same problem on a virtual server. I’m using Ubuntu 14.04.5. Snap version outputs:
# snap --version
On Ubuntu 14.04 you need to reboot after installing snapd as you are still on the 3.x kernel and snapd pulls in a newer kernel as a dependency.