Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304745 - sys-apps/baselayout-1.12.13: net.lo: interface_device() does not handle multidot names correctly
Summary: sys-apps/baselayout-1.12.13: net.lo: interface_device() does not handle multi...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-12 16:57 UTC by Andreas Kinzler
Modified: 2010-03-23 20:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kinzler 2010-02-12 16:57:57 UTC
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:
Comment 1 Thomas Sachau gentoo-dev 2010-03-12 14:22:02 UTC
Please attache your "emerge --info", "emerge -pv baselayout" and what exactly your error/problems are or have been.
Comment 2 Pacho Ramos gentoo-dev 2010-03-23 20:48:11 UTC
(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