<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>267497</bug_id>
          
          <creation_ts>2024-01-13 08:16:13 -0800</creation_ts>
          <short_desc>Realtime error: Could not map pid: Could not determine pid namespace</short_desc>
          <delta_ts>2024-01-22 10:26:02 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>238403</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="tekstryder">marmel6942</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2004895</commentid>
    <comment_count>0</comment_count>
    <who name="tekstryder">marmel6942</who>
    <bug_when>2024-01-13 08:16:13 -0800</bug_when>
    <thetext>• 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&apos;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&apos;s /.flatpak-info

To quote Milan&apos;s (Evolution developer) comment after investigation...
https://gitlab.gnome.org/GNOME/evolution/-/issues/2582#note_1921965

&quot;For what it&apos;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&apos;s sandbox. There&apos;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.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2004903</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2024-01-13 09:59:24 -0800</bug_when>
    <thetext>Hm, pretty sure this is impossible to fix on our end. We don&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2004904</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2024-01-13 10:00:22 -0800</bug_when>
    <thetext>(BTW I presume you are using a non-flatpak version of Evolution. If you&apos;re using it via flatpak, then further investigation is required.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2004905</commentid>
    <comment_count>3</comment_count>
    <who name="tekstryder">marmel6942</who>
    <bug_when>2024-01-13 10:05:44 -0800</bug_when>
    <thetext>Correct, non-flatpak evolution.

Okay, thanks. Back to xdg-desktop-portal I go. Full circle!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2004934</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2024-01-13 16:15:50 -0800</bug_when>
    <thetext>(Alternatively, if xdg-desktop-portal doesn&apos;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.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2006583</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2024-01-22 10:26:02 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 238403 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>