Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407901 - net-tools-1.60_p20120127084908 breaks openrc network config
Summary: net-tools-1.60_p20120127084908 breaks openrc network config
Status: RESOLVED DUPLICATE of bug 407757
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 521720
  Show dependency tree
 
Reported: 2012-03-12 10:29 UTC by Martin
Modified: 2014-08-30 10:31 UTC (History)
0 users

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


Attachments

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