Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373345 - sys-apps/openrc: net.lo1 cannot find interface
Summary: sys-apps/openrc: net.lo1 cannot find interface
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: OpenRC Team
URL:
Whiteboard: openrc:oldnet
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-28 14:22 UTC by Linda
Modified: 2013-04-25 23:08 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 Linda 2011-06-28 14:22:22 UTC
After emerging sys-apps/baselayout-2.0.2 which includes openrc-0.8.2-r1, I am getting these errors below.  

* Starting vmtoolsd ...
 [ ok ]
 * Bringing up interface lo1
 *   ERROR: interface lo1 does not exist
 *   Ensure that you have loaded the correct kernel module for your hardware
 * ERROR: net.lo1 failed to start
 * Bringing up interface lo2
 *   ERROR: interface lo2 does not exist
 *   Ensure that you have loaded the correct kernel module for your hardware
 * ERROR: net.lo2 failed to start
 * Bringing up interface lo3
 *   ERROR: interface lo3 does not exist
 *   Ensure that you have loaded the correct kernel module for your hardware
 * ERROR: net.lo3 failed to start

Openrc made these changes during the install:
>>> Installing (2 of 2) sys-apps/openrc-0.8.2-r1
 * /etc/conf.d/rc is no longer used for configuration.
 * Please migrate your settings to /etc/rc.conf as applicable
 * and delete /etc/conf.d/rc
 * Moved net service 'net.lo1' to 'net.lo1.openrc.bak' to force a symlink.
 * You should delete 'net.lo1.openrc.bak' if you don't need it.
 * Moved net service 'net.lo2' to 'net.lo2.openrc.bak' to force a symlink.
 * You should delete 'net.lo2.openrc.bak' if you don't need it.
 * Moved net service 'net.lo3' to 'net.lo3.openrc.bak' to force a symlink.
 * You should delete 'net.lo3.openrc.bak' if you don't need it.

Now I am seeing this in my /etc/init.d file. It seems that net.lo1-net.lo3 is now symlinked to net.lo which appears to be incorrect.  Can someone please help me with this? net.eth0 and net.eth1 work fine but net.lo1-net.lo3 do not.

gc4-new init.d # ls -l net*
lrwxrwxrwx 1 root root     6 Mar 30  2010 net.eth0 -> net.lo
lrwxrwxrwx 1 root root     6 Apr  5  2010 net.eth1 -> net.lo
-rwxr-xr-x 1 root root 15459 Jun 27 13:22 net.lo
lrwxrwxrwx 1 root root     6 Jun 27 13:22 net.lo1 -> net.lo
-rwxr-xr-x 1 root root   310 Jun 30  2010 net.lo1.openrc.bak
lrwxrwxrwx 1 root root     6 Jun 27 13:22 net.lo2 -> net.lo
-rwxr-xr-x 1 root root   310 Jun 30  2010 net.lo2.openrc.bak
lrwxrwxrwx 1 root root     6 Jun 27 13:22 net.lo3 -> net.lo
-rwxr-xr-x 1 root root   310 Jun 30  2010 net.lo3.openrc.bak
--rwxr-xr-x 1 root root  2183 Jun 27 13:22 netmount
-rwxr-xr-x 1 root root  6803 Jun 27 13:22 network

Any help with this would be greatly appreciated.

Reproducible: Always

Steps to Reproduce:
1.emerge sys-apps/baselayout-2.0.2
2.update config files and follow openrc migration guide
3.reboot
Kernel linux-2.6.38-gentoo-r6
Actual Results:  
* Starting vmtoolsd ...
 [ ok ]
 * Bringing up interface lo1
 *   ERROR: interface lo1 does not exist
 *   Ensure that you have loaded the correct kernel module for your hardware
 * ERROR: net.lo1 failed to start
 * Bringing up interface lo2
 *   ERROR: interface lo2 does not exist
 *   Ensure that you have loaded the correct kernel module for your hardware
 * ERROR: net.lo2 failed to start
 * Bringing up interface lo3
 *   ERROR: interface lo3 does not exist
 *   Ensure that you have loaded the correct kernel module for your hardware
 * ERROR: net.lo3 failed to start

Expected Results:  
Interfaces should come up
Comment 1 SpanKY gentoo-dev 2011-06-29 19:27:03 UTC
what exactly are net.lo[1-3] supposed to be ?  if they arent loop back devices, then delete the new symlinks and move your old init.d scripts back.

post the scripts as attachments
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2011-07-11 23:12:23 UTC
Closing this bug report as no further information has been provided. Please reopen this bug if you can provide the information asked for.
Thanks!