Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Can't mount proc on /newroot/proc: Operation not permitted" if /proc/fs/nfsd is mounted #538

Open
jiri-janousek opened this issue Feb 7, 2017 · 4 comments

Comments

@jiri-janousek
Copy link

I cannot run flatpaks on Debian Jessie (Flatpak 0.6.14) when /proc/fs/nfsd is mounted:

$ mount | grep nfsd
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
$ flatpak run ...
Can't mount proc on /newroot/proc: Operation not permitted
$ sudo umount /proc/fs/nfsd
$ flatpak run ...
# Everything ok
@alexlarsson
Copy link
Member

I believe this is a similar issue to containers/bubblewrap#134

@alexlarsson
Copy link
Member

(But that one is for xen)

@alexlarsson
Copy link
Member

Both are kernel-level bugs really. They need to create the proc mountpoint with proc_create_mount_point instead of proc_mkdir

@jgarciao
Copy link

jgarciao commented Mar 1, 2017

I suddenly found that none of my installed flatpak apps weren't working and thanks to this issue I found the reason and the solution (Debian Jessie + nfs-kernel-server + flatpak don't get along!)

It might not be a problem in flatpak itself but maybe the error message could add a link to a troubleshooting section in docs.flatpak.org explaining the issue and solutions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants