Skip to content

broker-proxy returns "Bus name com.microsoft.identity.broker1 already owned" #69

Description

@synthead

If I enable broker-proxy...

$ intuneme config broker-proxy enable
  Broker proxy enabled.
  D-Bus activation file installed: /home/myuser/.local/share/dbus-1/services/com.microsoft.identity.broker1.service
  The proxy will start automatically on next 'intuneme start',
  or when a host app calls the broker.

...then run intuneme start, like so...

$ intuneme start
  Checking sudo credentials...
  Booting container...
  Waiting for container to boot...
  Enabling linger for container user...
  Waiting for container session bus...
  Container and broker proxy running.
  Host apps can now use SSO via com.microsoft.identity.broker1.

...intuneme status shows that the broker proxy is not running:

$ intuneme status
Root:    /home/myuser/.local/share/intuneme
Rootfs:  /home/myuser/.local/share/intuneme/rootfs
Machine: intuneme
Container: running
Broker proxy: not running

I'm not sure if the broker-proxy is supposed to be running at this point, or triggered by dbus. In any case, if I attempt to start it (as it says it is not running), I get this message:

$ intuneme broker-proxy
          
   ERROR  
          
  Bus name com.microsoft.identity.broker1 already owned.                                                              

Passing --verbose does not show any more information:

$ intuneme --verbose broker-proxy
          
   ERROR  
          
  Bus name com.microsoft.identity.broker1 already owned.                                                              

Just as an experiment, I did an intuneme stop...

$ intuneme stop
  Broker proxy stopped.
  Stopping container...
  Container stopped.

...then an intuneme broker-proxy, just in case intuneme start was doing something with broker-proxy:

$ intuneme broker-proxy
          
   ERROR  
          
  Dial container bus at unix:path=/home/myuser/.local/share/intuneme/runtime/bus: dial unix                              
  /home/myuser/.local/share/intuneme/runtime/bus: connect: connection refused.                                           

...but it looks like this isn't the correct way to use broker-proxy.

Am I doing this right?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ReadyYeti has finished — needs human attention

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions