<?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>245843</bug_id>
          
          <creation_ts>2022-09-29 13:10:38 -0700</creation_ts>
          <short_desc>[GLib] D-Bus proxy quietly fails if host session bus address is an abstract socket</short_desc>
          <delta_ts>2022-10-07 09:45:52 -0700</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>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=246159</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>206533</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1902158</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-09-29 13:10:38 -0700</bug_when>
    <thetext>Moving this from https://gitlab.gnome.org/GNOME/epiphany/-/issues/1852. Currently we have xdg-dbus-proxy create its client socket at the exact same location in the sandbox where the host session bus socket exists on the host system, so we don&apos;t have to mess with the DBUS_SESSION_BUS_ADDRESS environment variable. Problem is, if the host session bus address is an abstract socket, XDGDBusProxy::makePath simply fails.

We will change dbus-daemon to not default to using abstract sockets anymore in https://gitlab.freedesktop.org/dbus/dbus/-/issues/416, but WebKit should support this anyway. Using an abstract socket for the host session bus creates a big sandbox escape if combined with host network access, but WebKit&apos;s web process usually does not have network access (unless using a non-local X server).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1903307</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-10-04 18:46:31 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/5011</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1903751</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-10-06 08:03:24 -0700</bug_when>
    <thetext>Committed 255218@main (79f41316d99e): &lt;https://commits.webkit.org/255218@main&gt;

Reviewed commits have been landed. Closing PR #5011 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>