We suggest to add rules in ‘/etc/dbus-1/system.d/teamd.conf’.

The text of error message is :
Aug 27 06:24:03 deb-build NetworkManager[2920]: <info>  [1472293443.3106] 
device (team0): state change: disconnected -> prepare (reason 'none') [30 40 0]
Aug 27 06:24:03 deb-build NetworkManager[2920]: <info>  [1472293443.3497] 
device (team0): Activation: (team) started teamd [pid 3433]...
Aug 27 06:24:03 deb-build NetworkManager[2920]: <info>  [1472293443.3913] 
devices added (path: /sys/devices/virtual/net/team0, iface: team0)
Aug 27 06:24:03 deb-build NetworkManager[2920]: <info>  [1472293443.3921] 
device added (path: /sys/devices/virtual/net/team0, iface: team0): no ifupdown 
configuration found.
Aug 27 06:24:03 deb-build NetworkManager[2920]: This program is not intended to 
be run as root.
Aug 27 06:24:03 deb-build NetworkManager[2920]: TX balancing disabled.
Aug 27 06:24:03 deb-build NetworkManager[2920]: dbus: Failed to acquire 
org.libteam.teamd.team0: org.freedesktop.DBus.Error.AccessDenied: Connection 
":1.42" is not allowed to own the service "org.libteam.teamd.team0" due to 
security policies in the configuration file
Aug 27 06:24:03 deb-build NetworkManager[2920]: Failed to expose dbus name.
Aug 27 06:24:03 deb-build NetworkManager[2920]: teamd_init() failed.
Aug 27 06:24:03 deb-build kernel: [  348.441312] team0: Mode changed to 
"loadbalance"
Aug 27 06:24:03 deb-build NetworkManager[2920]: Failed: Invalid argument
Aug 27 06:24:03 deb-build NetworkManager[2920]: <warn>  [1472293443.4331] 
device (team0): teamd process quit unexpectedly; failing activation
Aug 27 06:24:03 deb-build NetworkManager[2920]: <info>  [1472293443.4331] 
device (team0): state change: prepare -> failed (reason 'teamd-control-failed') 
[40 120 56]


Steps to reproduce:
(suppose that the system has 2 network cards)
apt-get install network-manager libteam-utils
nmcli con del enp0s8
nmcli con del enp0s9
nmcli c a con-name team0 type team ifname team0 config '{"runner": {"name": 
"loadbalance"}}'
nmcli c m team0 connection.autoconnect-slaves 1
nmcli c a con-name team0-eth1 type team-slave ifname enp0s8 master team0
nmcli c a con-name team0-eth2 type team-slave ifname enp0s9 master team0
nmcli c u team0

-- 
Best Regards,
Charles Malaheenee

Reply via email to