Debian bug report 986671 https://bugs.debian.org/986671:
The ethlist function in aoe-sancheck.c skips all network interfaces that do not start with "eth". This is a problem these days where people switch to different naming schemes like the so-called predictable interface names as mandated by udev/systemd.
The suggested fix was to probe for "e*" only; not too bad - bad perhaps it was wiser to refine that check by probing interface flags. After reading netdevice(7), I'd probe !IFF_NOARP, assuming ARP support means the same as having ethernet support. Alternativetly, try to align to the kernel behaviour which AFAICS happily probes everything, even IP-tunneling.
And a releated feature request: It was nice to aoe-sancheck could optionally indeed probe all interfaces, or a list of interfaces given on the command line regardless their name.
Debian bug report 986671 https://bugs.debian.org/986671:
The
ethlistfunction inaoe-sancheck.cskips all network interfaces that do not start with "eth". This is a problem these days where people switch to different naming schemes like the so-called predictable interface names as mandated by udev/systemd.The suggested fix was to probe for "e*" only; not too bad - bad perhaps it was wiser to refine that check by probing interface flags. After reading
netdevice(7), I'd probe!IFF_NOARP, assuming ARP support means the same as having ethernet support. Alternativetly, try to align to the kernel behaviour which AFAICS happily probes everything, even IP-tunneling.And a releated feature request: It was nice to aoe-sancheck could optionally indeed probe all interfaces, or a list of interfaces given on the command line regardless their name.