libteam
libteam copied to clipboard
«ip link del» causes teamd to segfault
Platform:
$ cat /etc/redhat-release
Fedora release 20 (Heisenbug)
$ rpm -qa | grep -E '(teamd|libteam)'
teamd-1.15-1.fc20.x86_64
python-libteam-1.15-1.fc20.x86_64
libteam-1.15-1.fc20.x86_64
$ uname -r
3.17.8-200.fc20.x86_64
Team device:
# cat team0.conf
{
"device": "team0",
"runner": {"name": "activebackup"},
"link_watch": {"name": "ethtool"},
"ports": {
"team0p0": {
"prio": -10,
"sticky": true
},
"team0p1": {
"prio": 100
}
}
}
team0p0
, team0p1
— dummy devices
Run:
# teamd -o -f team0.conf
1.15 successfully started.
team0p0: ethtool-link went up.
team0p0: Can't get port priority. Using default.
Changed active port to "team0p0".
team0p1: ethtool-link went up.
team0p1: Can't get port priority. Using default.
team0p0: ethtool-link went down.
team0p0: Can't get port priority. Using default.
team0p1: Failed to enable active port.
Loop callback failed with: Invalid argument
team0p1: ethtool-link went down.
<--------------- $ sudo ip link del dev team0
Segmentation fault
Reproducible in 146%.
This does not happen to me anymore on 1.16. Can you try that ?