Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223061 - sys-apps/openrc-0.2.4-r1 waits forever while configuring IPV6 address in an interface with no link
Summary: sys-apps/openrc-0.2.4-r1 waits forever while configuring IPV6 address in an i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-21 13:51 UTC by Christian Schmidt
Modified: 2008-10-07 15:26 UTC (History)
1 user (show)

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


Attachments
Suggested iproute2.sh replacement (iproute2.sh,4.24 KB, text/plain)
2008-05-27 06:01 UTC, Christian Schmidt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Schmidt 2008-05-21 13:51:16 UTC
As part of my setup here I am forcing up one ethernet interface connected to my laptop's docking station like this:

modules_eth0=( "!plug" )
config_eth0=( "192.168.245.1/24"
              "2a01:130:11:3::1/64" )

Now, if there's no link, the IPV6 address will stay "tentative" forever, and the iproute2_post_start() function in /lib/rc/net/iproute2.sh will loop forever, hanging during boot until I press ctrl-c.

I need the interface configured up in order to have the dhcp server running; it will reject starting if the interface is not up.

Reproducible: Always
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2008-05-21 15:34:52 UTC
You should be CCing Roy on OpenRC bugs.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-21 15:36:56 UTC
(In reply to comment #1)
> You should be CCing Roy on OpenRC bugs.

Thanks for telling.
Comment 3 Christian Schmidt 2008-05-27 06:01:51 UTC
Created attachment 154423 [details]
Suggested iproute2.sh replacement

The check is changed so that interfaces with "NO-CARRIER" will always return false, otherwise the "tentative" status is evaluated.
Comment 4 Roy Marples 2008-05-27 11:29:07 UTC
Fixed in git, thanks
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2008-10-07 15:26:58 UTC
Fixed in 0.3.0.