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

Bug 407901

Summary: net-tools-1.60_p20120127084908 breaks openrc network config
Product: Gentoo Linux Reporter: Martin <mrbscreen>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 521720    

Description Martin 2012-03-12 10:29:19 UTC
Installing sys-apps/net-tools-1.60_p20120127084908 breaks the network configuration over ifconfig in openrc (possibly any version).

The cause is that the ifconfig.sh module from openrc ( /lib64/rc/net/ifconfig.sh ) searches for the ifconfig executable in /sbin .

Installing the net-tools in the above version, moves ifconfig from /sbin to /bin .

So the ifconfig module from openrc is disabled, and you get some mysterious error messages like "executable _exists not found" this funktion and some others will be exported by the ifconfig.sh module from openrc if and only if the ifconfig executable is found in /sbin (see line 6 in ifconfig.sh).

A simple ln -s /bin/ifconfig /sbin/ifconfig let the network setup works again.

For my opinion either the ifconfig.sh module from openrc should search on both locations or a symlink should be created by net-tools.

Without any modification not network came up including the lo interface.

Best reagards
Martin
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-03-12 10:31:42 UTC
upgrade openrc. search bugzilla next time (also closed bugs).

*** This bug has been marked as a duplicate of bug 407757 ***