2018-08-19-cannot-perform-readlinkat-on-the-mount-namespace-file-descriptor-of-the-init-process-permission-denied.md 663 Bytes
Newer Older
Danesh Manoharan's avatar
Danesh Manoharan committed
1
2
---
title: 'cannot perform readlinkat() on the mount namespace file descriptor of the init process: Permission denied'
3
author: Danesh Manoharan
Danesh Manoharan's avatar
Danesh Manoharan committed
4
5
6
7
8
9
10
date: 2018-08-18T19:00:48+00:00

---
Installed kernel 4.18 on my Ubuntu recently, since then snap packages broke with the following error.

It has something to do with the AppArmor exception rule for ptrace for what I could gather.

11
12
```
danesh@hades:$ spotify
Danesh Manoharan's avatar
wip    
Danesh Manoharan committed
13
14
cannot perform readlinkat() on the mount namespace file descriptor of the init process: Permission denied
```
Danesh Manoharan's avatar
Danesh Manoharan committed
15
16
17

The workaround for now is to upgrade your snap core to the beta channel.

18
19
```
danesh@hades:~/kernel$ sudo snap refresh --channel=beta core
Danesh Manoharan's avatar
wip    
Danesh Manoharan committed
20
```
Danesh Manoharan's avatar
Danesh Manoharan committed
21

22