WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 199416
[WPE][GTK] Remove flatpak sandbox
https://bugs.webkit.org/show_bug.cgi?id=199416
Summary
[WPE][GTK] Remove flatpak sandbox
Patrick Griffis
Reported
2019-07-02 12:12:41 PDT
[WPE][GTK] Remove flatpak sandbox
Attachments
Patch
(9.86 KB, patch)
2019-07-02 12:13 PDT
,
Patrick Griffis
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews116 for mac-highsierra
(3.07 MB, application/zip)
2019-07-02 14:01 PDT
,
EWS Watchlist
no flags
Details
Patch
(9.87 KB, patch)
2019-07-03 11:09 PDT
,
Patrick Griffis
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Patrick Griffis
Comment 1
2019-07-02 12:13:58 PDT
Created
attachment 373351
[details]
Patch
EWS Watchlist
Comment 2
2019-07-02 14:01:25 PDT
Comment hidden (spam)
Comment on
attachment 373351
[details]
Patch
Attachment 373351
[details]
did not pass mac-debug-ews (mac): Output:
https://webkit-queues.webkit.org/results/12643480
New failing tests: webgl/2.0.0/conformance/context/context-release-upon-reload.html
EWS Watchlist
Comment 3
2019-07-02 14:01:27 PDT
Comment hidden (spam)
Created
attachment 373359
[details]
Archive of layout-test-results from ews116 for mac-highsierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews116 Port: mac-highsierra Platform: Mac OS X 10.13.6
Michael Catanzaro
Comment 4
2019-07-02 15:27:09 PDT
Comment on
attachment 373351
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=373351&action=review
> Source/WebKit/UIProcess/Launcher/glib/ProcessLauncherGLib.cpp:130 > - if (sandboxEnabled && isInsideFlatpak()) > - process = flatpakSpawn(launcher.get(), m_launchOptions, argv, socketPair.client, &error.outPtr()); > -#if ENABLE(BUBBLEWRAP_SANDBOX) > - else if (sandboxEnabled) > + if (sandboxEnabled) > process = bubblewrapSpawn(launcher.get(), m_launchOptions, argv, &error.outPtr()); > -#endif > else > #endif
Don't we still need the isInsideFlatpak() check? Surely bubblewrap isn't going to work inside flatpak?
Patrick Griffis
Comment 5
2019-07-02 16:24:17 PDT
(In reply to Michael Catanzaro from
comment #4
)
> Don't we still need the isInsideFlatpak() check? Surely bubblewrap isn't > going to work inside flatpak?
ENABLE_BUBBLEWRAP_SANDBOX defaults to false when built inside Flatpak. If somebody forcefully enables it then thats on them.
Michael Catanzaro
Comment 6
2019-07-03 07:42:40 PDT
(In reply to Patrick Griffis from
comment #5
)
> ENABLE_BUBBLEWRAP_SANDBOX defaults to false when built inside Flatpak. If > somebody forcefully enables it then thats on them.
Well that doesn't seem like it's enough, because our flatpak runtimes are not built inside flatpak.
Patrick Griffis
Comment 7
2019-07-03 10:58:13 PDT
(In reply to Michael Catanzaro from
comment #6
)
> (In reply to Patrick Griffis from
comment #5
) > > ENABLE_BUBBLEWRAP_SANDBOX defaults to false when built inside Flatpak. If > > somebody forcefully enables it then thats on them. > > Well that doesn't seem like it's enough, because our flatpak runtimes are > not built inside flatpak.
Alright, I'll re-add it.
Patrick Griffis
Comment 8
2019-07-03 11:09:22 PDT
Created
attachment 373399
[details]
Patch
WebKit Commit Bot
Comment 9
2019-07-03 12:50:31 PDT
Comment on
attachment 373399
[details]
Patch Clearing flags on attachment: 373399 Committed
r247096
: <
https://trac.webkit.org/changeset/247096
>
WebKit Commit Bot
Comment 10
2019-07-03 12:50:32 PDT
All reviewed patches have been landed. Closing bug.
Michael Catanzaro
Comment 11
2020-01-08 08:45:21 PST
o/ didn't you mention you had this working again? Looks like that never made it upstream...?
Patrick Griffis
Comment 12
2020-01-09 00:57:16 PST
(In reply to Michael Catanzaro from
comment #11
)
> o/ didn't you mention you had this working again? Looks like that never made > it upstream...?
bug 204732
has a patch, will get it reviewed after a patch lands in flatpak-xdg-utils soon.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug