Skip to content

aoe-sancheck probes interfaces named eth* only #6

@cbiedl

Description

@cbiedl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions