Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 125786

Summary: dev param not specified to route in ifconfig module from baselayout-1.11.14
Product: Gentoo Linux Reporter: Jason Stubbs (RETIRED) <jstubbs>
Component: [OLD] baselayoutAssignee: Roy Marples (RETIRED) <uberlord>
Status: RESOLVED FIXED    
Severity: normal CC: vserver-devs+disabled
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Correctly specifies the device to route

Description Jason Stubbs (RETIRED) gentoo-dev 2006-03-10 19:52:53 UTC
routes_eth0=( "default via 192.168.0.1" ) will become a command line of
`route add default gw 192.168.0.1`. This command fails if eth0 (or another
device) does not have an ip assigned in an appropriate network. OpenVZ relies
on being able to do this to set up networking for its virtual servers.

The iproute2 module behaves correctly and the bug appears to be fixed in baselayout-1.12.0.
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2006-03-10 19:53:36 UTC
Created attachment 81891 [details, diff]
Correctly specifies the device to route
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-03-11 03:54:07 UTC
Patch is in our svn repo thanks.

Can you wait for the next stable release or a patch now?
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2006-03-11 04:29:09 UTC
Personally, I don't mind. I know what the fix is. ;)

It might be a good idea to get it into baselayout-vserver early though. Gentoo is third on OpenVZ's list for distros to get working and the first two already go without a hitch. As more Gentoo users pick up interest in the project, more will be sending the issue in their direction rather than ours.
Comment 4 Roy Marples (RETIRED) gentoo-dev 2006-03-11 05:21:38 UTC
No patch then as vserver has their own baselayout so they can patch that.
Comment 5 Christian Heim (RETIRED) gentoo-dev 2006-03-11 07:11:18 UTC
Should be fixed by now for baselayout-vserver ...
Comment 6 Jason Stubbs (RETIRED) gentoo-dev 2006-03-11 09:20:53 UTC
Cheers. Feel free to close this bug at any time then.
Comment 7 Christian Heim (RETIRED) gentoo-dev 2006-03-11 09:46:33 UTC
Thanks a lot Roy & Jason ..
Comment 8 Kir Kolyshkin 2006-03-11 23:47:57 UTC
OK can you tell the version of baselayout in which the bug is (will be) fixed?
Comment 9 Roy Marples (RETIRED) gentoo-dev 2006-03-12 00:11:31 UTC
As far as baselayout is concerned, it's fixed in baselayout-1.12.0_pre16-r3 and will be in baselayout-1.11.15 if we ever release that.

It's fixed in baselayout-vserver-1.11.14-r4.ebuild and their 1.12 series too.