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

Bug 289762

Summary: sys-apps/openrc-0.5.2 iproute2 module configures interface but does not bring it up
Product: Gentoo Linux Reporter: Albert W. Hopkins <marduk>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: roy, wschlich
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
0005-fix-iproute2-support.patch

Description Albert W. Hopkins 2009-10-19 18:00:19 UTC
If I use 

    ifconfig_eth0="..."

In my /etc/conf.d/network then my interface comes up fine (though the broadcast address I think is wrong).  If I instead use

    ip_eth0="..."

I get:

    /etc/init.d/network: line 115: intup: command not found
    Object "set" is unknown, try "ip help"
    * Setting default route ....
    SIOCADDRT: Network is unreachable

My interface is configured (though with "weird" broadcast address again) but the interface is not "up" so I am not able to access anything on the network.

I must manually use "ip link set eth0 up" and then manually set up my routes in order to access the netowrk.

I also think, in the above example, that my broadcast address should in fact be 192.168.31.255 but with both ifconfig and iproute2 I get a broadcast address of 0.0.0.0 which I assume to mean I cannot broadcast to my local subnet.  If you want I will open a separate bug report for that.
Comment 1 Albert W. Hopkins 2009-10-19 18:01:54 UTC
Created attachment 207571 [details]
emerge --info
Comment 2 William Hubbs gentoo-dev 2009-10-20 04:08:13 UTC
Created attachment 207623 [details]
0005-fix-iproute2-support.patch

This patch fixes the iproute2 support.

I have applied it and created openrc-0.5.2-r1.
Comment 3 William Hubbs gentoo-dev 2009-10-20 04:09:33 UTC
Roy,

can you please apply this to the attached patch to openrc?

Thanks,

William

Comment 5 William Hubbs gentoo-dev 2009-11-11 00:04:28 UTC
This is fixed upstream.