Bug 267497
| Summary: | Realtime error: Could not map pid: Could not determine pid namespace | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | tekstryder <marmel6942> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | bugs-noreply, mcatanzaro, webkit-bug-importer |
| Priority: | P2 | ||
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
tekstryder
• Arch Linux | Kernel 6.6.11
• Gnome-shell | Mutter 45.3
• Wayland (`gnome-shell --no-x11`)
• Evolution: 3.50.3
• Xdg-desktop-portal 1.18.2
• webkit2gtk 2.42.4
Originally reported against xdg-desktop-portal here:
https://github.com/flatpak/xdg-desktop-portal/issues/1167
Subsequently reported against evolution here:
https://gitlab.gnome.org/GNOME/evolution/-/issues/2582
Third time's a charm, right?
Each time the Evolution Mail app is launched the following error is emmitted:
Jan 11 10:14:12 xdg-desktop-por[8439]: Realtime error: Could not map pid: Could not determine pid namespace: Could not find instance-id in process's /.flatpak-info
To quote Milan's (Evolution developer) comment after investigation...
https://gitlab.gnome.org/GNOME/evolution/-/issues/2582#note_1921965
"For what it's worth, when I run Evolution from a terminal as:
WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS=1 evolution
there is no such warning added into the journal, which I consider as a proof that the problem is related to the WebKit's sandbox. There's not much Evolution can do about it.
Furthermore, when I run devhelp, which also uses WebKitGTK, there is added the same warning into the journal. And the same when I run Epiphany, a WebKitGTK based web browser."
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Michael Catanzaro
Hm, pretty sure this is impossible to fix on our end. We don't have a real flatpak instance. We could add a fake instance ID to the flatpak-info file, but this seems worse than doing nothing. At least with the ID missing, xdg-desktop-portal has a chance to detect that there is no ID and take a fallback codepath instead of trying to work with a bogus ID and failing later on.
I would reopen that xdg-desktop-portal bug report.
Michael Catanzaro
(BTW I presume you are using a non-flatpak version of Evolution. If you're using it via flatpak, then further investigation is required.)
tekstryder
Correct, non-flatpak evolution.
Okay, thanks. Back to xdg-desktop-portal I go. Full circle!
Michael Catanzaro
(Alternatively, if xdg-desktop-portal doesn't want us to create a fake flatpak-info anymore, it would be welcome to define some alternative format we could switch to instead. But currently flatpak-info is the only game in town.)
Michael Catanzaro
*** This bug has been marked as a duplicate of bug 238403 ***