Skip to content

[th/team-cli-type] team: specify cli-type for teamdctl_connect() to select usock/dbus

Thomas Haller requested to merge th/team-cli-type into main

teamdctl_connect() has a parameter cli_type. If unspecified, the library will try usock, dbus (if enabled) and zmq (if enabled).

Trying to use the unix socket if we expect to use D-Bus can be bad. For example, it might cause SELinux denials.

As we anyway require libteam to use D-Bus, if D-Bus is available, explicitly select the cli type.

Merge request reports