[MacPorts] #57784: dbus should install system socket into standard path

MacPorts noreply at macports.org
Fri Dec 28 03:07:03 UTC 2018


#57784: dbus should install system socket into standard path
----------------------+---------------------------------
  Reporter:  FGasper  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect   |     Status:  reopened
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.5.4
Resolution:           |   Keywords:
      Port:  dbus     |
----------------------+---------------------------------

Comment (by FGasper):

 D-Bus defines specific environment variables that clients are to check for
 socket locations. One of them is the DBUS_LAUNCHD_SESSION_BUS_SOCKET,
 which gives the login session bus’s socket location. MacPorts already sets
 this variable; for me right now it looks thus:
 {{{
 > env | grep DBUS
 DBUS_LAUNCHD_SESSION_BUS_SOCKET=/private/tmp/com.apple.launchd.5vFebZKcfj/unix_domain_listener
 }}}

 Another such environment variable is DBUS_SYSTEM_BUS_ADDRESS, but MacPorts
 doesn’t set that one. If that were changed, then all standard D-Bus
 clients--not just glib--would interoperate correctly with MacPorts’s
 D-Bus.

 Does that make more sense?

-- 
Ticket URL: <https://trac.macports.org/ticket/57784#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list