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

flatpack-info: read-only file system #393

Closed
ngirard opened this issue May 29, 2020 · 6 comments
Closed

flatpack-info: read-only file system #393

ngirard opened this issue May 29, 2020 · 6 comments
Labels
bug Something isn't working not our bug Needs to be fixed upstream or elsewhere

Comments

@ngirard
Copy link

ngirard commented May 29, 2020

Using latest 2.2.0 version from the pre-compiled package on Ubuntu 20.04.
Starting Foliate leads to a blank page with spinning cursor and the following error message:

bwrap: Can't create file at /.flatpak-info: Read-only file system
@johnfactotum
Copy link
Owner

WebKit sandboxing was enabled in 23b6b03. It seems that it might cause problems in some situations? Googling leads to this bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1781631, but it seems that no one knows why it happens.

As a workaround you can try setting WEBKIT_FORCE_SANDBOX=0 to disable the sandbox (use WEBKIT_FORCE_SANDBOX=0 com.github.johnfactotum.Foliate to launch Foliate).

@johnfactotum johnfactotum added bug Something isn't working need info More info needed to reproduce or fix labels May 29, 2020
@ngirard
Copy link
Author

ngirard commented May 29, 2020

Good catch John, setting the variable allowed Foliate to work properly.

Would it be possible to propagate this fix to a new package ?

Also congrats for the new library view, it's awesome !

@johnfactotum
Copy link
Owner

Ideally we'd want to fix the issue rather than disabling the sandbox. But if lots of people are having issues I guess it should be turned off by default.

@ngirard
Copy link
Author

ngirard commented May 30, 2020

Hey @johnfactotum,

I'm about to bring an Ubuntu-based laptop to its owner, and I wish to have Foliate 2.2 installed on it.
What would you advice me to do for a temporary fix ?
To add a export WEBKIT_FORCE_SANDBOX=0 to the user bashrc ? Or to add it to the foliate.desktop file ?

@johnfactotum
Copy link
Owner

To add a export WEBKIT_FORCE_SANDBOX=0 to the user bashrc ?

This will disable sandboxing for all WebKit processes on the system. Don't do that unless you're also having problems with other WebKit apps.

Or to add it to the foliate.desktop file ?

I think that's probably the best workaround for now.

@johnfactotum
Copy link
Owner

It seems this has been fixed upstream: https://bugs.webkit.org/show_bug.cgi?id=202880

@johnfactotum johnfactotum closed this as not planned Won't fix, can't repro, duplicate, stale Mar 8, 2023
@johnfactotum johnfactotum added not our bug Needs to be fixed upstream or elsewhere and removed need info More info needed to reproduce or fix labels Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working not our bug Needs to be fixed upstream or elsewhere
Projects
None yet
Development

No branches or pull requests

2 participants