/snap/bin/microk8s error - permanently dropping privs did not work: File exists

8/17/2020

Has anyone come across this issue before?

/snap/bin/microk8s
permanently dropping privs did not work: File exists

I get the same error when trying to run any of the other sub commands like microk8s.enable, microk8s.status, microk8s.kubectl - all same error message.

I tried to:

  • run strace with the command to see if I can figure out what "File exists" - Nothing fruitful came of that.

Any pointers will be greatly appreciated.

-- Okezie
kubernetes
linux
microk8s
ubuntu

1 Answer

2/12/2021

I had a same error message when I execute docker command after installing docker via snap. After logout-login, the error was solved in my case.

-- ogavvat
Source: StackOverflow