| Summary: | sys-apps/baselayout-1.12.13: net.lo: interface_device() does not handle multidot names correctly | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andreas Kinzler <akinzler> |
| Component: | [OLD] baselayout | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | tommy |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Please attache your "emerge --info", "emerge -pv baselayout" and what exactly your error/problems are or have been. (In reply to comment #1) > Please attache your "emerge --info", "emerge -pv baselayout" and what exactly > your error/problems are or have been. > Please get back to us and reopen then |
the original interface_device() does not handle iface names like "eth.dsl0.7" correctly. I replaced it by this interface_device() { local dev="$1" [[ "${dev}" =~ ^(.*)[.:][0-9]+$ ]] && dev="${BASH_REMATCH[1]}" echo "${dev}" } Reproducible: Always Steps to Reproduce: