Bug 213925 - [WPE][GTK] Bubblewrap sandbox should not attempt to bind empty paths
Summary: [WPE][GTK] Bubblewrap sandbox should not attempt to bind empty paths
Status: RESOLVED DUPLICATE of bug 202880
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-03 07:34 PDT by Michael Catanzaro
Modified: 2020-07-03 07:35 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2020-07-03 07:34:52 PDT
If an empty path is set in LD_LIBRARY_PATH (e.g. /foo::/bar), we wind up passing --ro-bind-try   --ro-bind-try to bwrap, where the second --ro-bind-try is treated as the source path to mount, and the next flag we pass gets treated as the destination path. The web process crashes with this confusing error:

bwrap: Can't create file at /.flatpak-info: Read-only file system
Comment 1 Michael Catanzaro 2020-07-03 07:35:30 PDT
Oops, already reported...

*** This bug has been marked as a duplicate of bug 202880 ***