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

flatpak fails with "pivot_root: Invalid argument" #214

Open
juanitotc opened this issue Sep 13, 2017 · 6 comments
Open

flatpak fails with "pivot_root: Invalid argument" #214

juanitotc opened this issue Sep 13, 2017 · 6 comments

Comments

@juanitotc
Copy link

@juanitotc juanitotc commented Sep 13, 2017

see: flatpak/flatpak#1007

$ flatpak install --user flathub org.libretro.RetroArch
...
pivot_root: Invalid argument

..and...
$ bwrap --bind / / true
pivot_root: Invalid argument

@alexlarsson
Copy link
Collaborator

@alexlarsson alexlarsson commented Sep 13, 2017

For the record, this is with tinycorelinux

@cgwalters
Copy link
Collaborator

@cgwalters cgwalters commented Sep 18, 2017

Isn't this just "/ is not a real mount point" issue? See #172 specifically 703e169 which is related in the sense that I suspect tiny core is doing the same thing as bwrap for its rootfs setup. Basically it needs to use pivot_root() or otherwise make the final / a real mountpoint.

@juanitotc
Copy link
Author

@juanitotc juanitotc commented Oct 17, 2017

How do I check if that's th case?

@jlebon
Copy link
Contributor

@jlebon jlebon commented Oct 17, 2017

How do I check if that's th case?

You can use e.g. findmnt /.

See also #135 for other reasons why pivot_root can return EINVAL.

@juanitotc
Copy link
Author

@juanitotc juanitotc commented Oct 18, 2017

$ findmnt /
TARGET SOURCE FSTYPE OPTIONS
/ rootfs rootfs rw,size=8102252k,nr_inodes=2025563

@juanitotc
Copy link
Author

@juanitotc juanitotc commented Nov 10, 2017

bump?

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

4 participants