[gentoo-user] Heads Up - sys-apps/net-tools-1.60_p20120127084908 might break your system

March 12th, 2012 - 03:40 am ET by Helmut Jarausch | Report spam
Hi,
I've just been bitten by sys-apps/net-tools-1.60_p20120127084908.

After reboot, the network doesn't come up:

localhost /etc/init.d/net.lo[3463]: ERROR: interface lo does not exist
localhost /etc/init.d/net.lo[3464]: Ensure that you have loaded the
correct kernel module for your hardware
localhost /etc/init.d/net.lo[3381]: ERROR: net.lo failed to start
localhost /etc/init.d/net.eth0[3549]: ERROR: interface eth0 does not
exist
localhost /etc/init.d/net.eth0[3550]: Ensure that you have loaded the
correct kernel module for your hardware
localhost /etc/init.d/net.eth0[3466]: ERROR: net.eth0 failed to start

It's NOT a kernel matter since stepping back to
sys-apps/net-tools-1.60_p20111120203157 with the same kernel does work.

Helmut.
email Follow the discussionReplies 4 repliesReplies Make a reply

Similar topics

Replies

#1 Helmut Jarausch
March 12th, 2012 - 03:50 am ET | Report spam
I've just got an email from Samuli Suominen that this is a bug
in openrc-0.9.9.2 which has just been fixed by openrc-0.9.9.3

Helmut.


On 03/12/2012 09:32:00 AM, Helmut Jarausch wrote:
Hi,
I've just been bitten by sys-apps/net-tools-1.60_p20120127084908.

After reboot, the network doesn't come up:

localhost /etc/init.d/net.lo[3463]: ERROR: interface lo does not exist
localhost /etc/init.d/net.lo[3464]: Ensure that you have loaded the
correct kernel module for your hardware
localhost /etc/init.d/net.lo[3381]: ERROR: net.lo failed to start
localhost /etc/init.d/net.eth0[3549]: ERROR: interface eth0 does not
exist
localhost /etc/init.d/net.eth0[3550]: Ensure that you have loaded the
correct kernel module for your hardware
localhost /etc/init.d/net.eth0[3466]: ERROR: net.eth0 failed to start

It's NOT a kernel matter since stepping back to
sys-apps/net-tools-1.60_p20111120203157 with the same kernel does
work.

Helmut.


Replies Reply to this message
#2 Nikos Chantziaras
March 12th, 2012 - 07:40 am ET | Report spam
On 12/03/12 10:32, Helmut Jarausch wrote:
Hi,
I've just been bitten by sys-apps/net-tools-1.60_p20120127084908.

After reboot, the network doesn't come up:

localhost /etc/init.d/net.lo[3463]: ERROR: interface lo does not exist
localhost /etc/init.d/net.lo[3464]: Ensure that you have loaded the
correct kernel module for your hardware
localhost /etc/init.d/net.lo[3381]: ERROR: net.lo failed to start
localhost /etc/init.d/net.eth0[3549]: ERROR: interface eth0 does not exist
localhost /etc/init.d/net.eth0[3550]: Ensure that you have loaded the
correct kernel module for your hardware
localhost /etc/init.d/net.eth0[3466]: ERROR: net.eth0 failed to start

It's NOT a kernel matter since stepping back to
sys-apps/net-tools-1.60_p20111120203157 with the same kernel does work.



I've anyone is hit by this and doesn't have a way to download an older
version anymore, the solution is fairly simple:

ln -s /bin/ifconfig /sbin/
/etc/init.d/net.lo restart
/etc/init.d/net.eth0 restart
rm /sbin/ifconfig
[sync and update world]

(Substitute "eth0" with whatever you're using.)
Replies Reply to this message
#3 felix
March 17th, 2012 - 11:00 am ET | Report spam
On Mon, Mar 12, 2012 at 02:32:09PM +0200, Nikos Chantziaras wrote:

I've anyone is hit by this and doesn't have a way to download an older
version anymore, the solution is fairly simple:

ln -s /bin/ifconfig /sbin/
/etc/init.d/net.lo restart
/etc/init.d/net.eth0 restart
rm /sbin/ifconfig
[sync and update world]

(Substitute "eth0" with whatever you're using.)



This appears to help with eth0 etc, but my openvpn fails with

Linux ifconfig failed: could not execute external program

Leaving the sbin symlink in place fixes this.

I didn't see any gentoo bugs for this -- I can create a new one, but
is there another one related to the symlink that I should add this
note to?

... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon /
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
Replies Reply to this message
#4 Neil Bothwick
March 19th, 2012 - 06:30 pm ET | Report spam

On Sat, 17 Mar 2012 08:48:08 -0700, wrote:

This appears to help with eth0 etc, but my openvpn fails with

Linux ifconfig failed: could not execute external program

Leaving the sbin symlink in place fixes this.

I didn't see any gentoo bugs for this -- I can create a new one, but
is there another one related to the symlink that I should add this
note to?



There is a bug, the "fix" is to re-emerge openvpn. Apparently openvpn
has hardcoded paths for ifconfig and friends, which are set when it is
compiled, based on the locations at the time. Re-emerging builds it with
the new locations.


Neil Bothwick

Kludge: (v., adj., or n.) to fix a program in the usual way.



email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search