Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-108408

Allow cross-namespace connections to Linux session and system buses

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.15.12
    • D-Bus
    • None
    • Linux/Wayland, Linux/X11, Linux/Yocto

    Description

      It is not possible to connect to dbus bus running on host from within a user-namespace, a typical containers setup.
      The "EXTERNAL authentication" mechansim fails to verify the UID credential passing via the message against the out-of-band credential, due mismatch in user-id crossing user-namespace.

      Frameworks like sd-bus, gdbus has already switched to sending empty value instead of UID in DATA payload to fix the issue.
      https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2832

      https://github.com/systemd/systemd/commit/1ed4723d38cd0d1423c8fe650f90fa86007ddf55

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            roamer Mostafa Emami
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes