Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289762 - sys-apps/openrc-0.5.2 iproute2 module configures interface but does not bring it up
Summary: sys-apps/openrc-0.5.2 iproute2 module configures interface but does not bring...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-19 18:00 UTC by Albert W. Hopkins
Modified: 2009-11-11 00:04 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge--info.txt,9.67 KB, text/plain)
2009-10-19 18:01 UTC, Albert W. Hopkins
Details
0005-fix-iproute2-support.patch (0005-fix-iproute2-support.patch,835 bytes, text/plain)
2009-10-20 04:08 UTC, William Hubbs
Details

Note You need to log in before you can comment on or make changes to this bug.
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.