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

Bug 280720

Summary: After upgrade to sys-apps/openrc-0.5.0-r2, network does not start at boot
Product: Gentoo Linux Reporter: Karel De Vriendt <kdvgent>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Karel De Vriendt 2009-08-08 06:48:56 UTC
After upgrade to sys-apps/openrc-0.5.0-r2, network does not start at boot but must be started manually

Reproducible: Always

Steps to Reproduce:
1. upgrade to openrc-0.5.0.-rc2
2. upgrade configuration files
3. reboot

Actual Results:  
Network does not start. Error message:
....
ADDCADDRI:file exists.
 cannot start netmount as net.eth1 could not start
.... 

Expected Results:  
Network should come up as net.eth1 is in default runlevel

After the upgrade, /etc/init.d/net.lo is upgraded to a very simple script that is explicitely mentioning lo. Hence the link linking net.eth1 to net.lo is not useful any more.

/etc/init.d/net.lo:
# cat /etc/init.d/net.lo
#!/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.

depend() {
provide net
}

start() {
ebegin "Bringing up network interface lo"
ifconfig lo 127.0.0.1 netmask 255.0.0.0 up && \
route add -net 127.0.0.0 netmask 255.0.0.0 dev lo
eend $?
}

stop() {
ebegin "Shutting down network interface lo"
route del -net 127.0.0.0 netmask 255.0.0.0 dev lo &&
ifconfig lo down
eend $?
}
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-08-08 08:45:31 UTC
sys-apps/openrc-0.5.0 still isn't in our main portage-tree (see bug #275543).

In case this package is from an official Gentoo overlay, you may reopen this bug if you tell us from which overlay the package is. Otherwise please file this bug to wherever you obtained this package from.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-08-08 08:48:20 UTC
*** Bug 280714 has been marked as a duplicate of this bug. ***
Comment 3 Karel De Vriendt 2009-08-08 09:18:06 UTC
1. Sorry for the duplicate bug report - do not know how this happens
2. Sorry for the orginal bug report - I use the funtoo repository and did not notice the documented network configuration change.
Thanks for helping