[Webkit-unassigned] [Bug 219325] [WPE][GTK] flatpak-spawn subsandbox clears environment variables, breaks EphyPermissionsManager
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 27 15:20:04 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=219325
--- Comment #6 from Michael Catanzaro <mcatanzaro at gnome.org> ---
(In reply to Michael Catanzaro from comment #5)
> which confirms Alex's test. That's hard to explain. Why is our web process
> getting different behavior than when we manually call flatpak-spawn?
Ah sorry, the difference is the --sandbox flag. Passing --sandbox makes the XDG dirs go away. So that's what breaks EphyPermissionsManager.
It does not matter, because we really do need to propagate the entire environment regardless for the reasons mentioned above. This is very frustrating to test, though, because flatpak-spawn just refuses to do anything when run outside a flatpak sandbox, which makes development pretty difficult. The best I can do is submit an untested patch and add it to gnome-build-meta to see if it works. If we have instructions for building modified flatpak runtimes anywhere, that would be wonderful, but I suspect that's one of those things we just never got around to making easy....
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210127/43e03088/attachment-0001.htm>
More information about the webkit-unassigned
mailing list