Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459680 - sys-apps/openrc: net.lo vs net.lo0 on FreeBSD systems
Summary: sys-apps/openrc: net.lo vs net.lo0 on FreeBSD systems
Status: UNCONFIRMED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal trivial (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-28 09:28 UTC by Dmitri Bogomolov
Modified: 2013-06-04 10:59 UTC (History)
2 users (show)

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 Dmitri Bogomolov 2013-02-28 09:28:22 UTC
There is lo0 interface in FreeBSD, no lo. But openrc installs /etc/init.d/net.lo. So I see the messages
  * Bringin up interface lo
  *    ERROR: interface lo does not exist
  *    Ensure that you have load the correct kernel module for you hardware
  * ERROR: net.lo failed to start
at boot time.

Reproducible: Always




# uname -sr
FreeBSD 9.1-Gentoo

# ifconfig | grep lo
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384

# equery belongs /etc/init.d/net.lo
 * Searching for /etc/init.d/net.lo ... 
sys-apps/openrc-0.11.8 (/etc/init.d/net.lo)
# equery belongs /etc/init.d/net.lo0
 * Searching for /etc/init.d/net.lo0 ... 
sys-apps/openrc-0.11.8 (/etc/init.d/net.lo0)
Comment 1 SpanKY gentoo-dev 2013-03-03 03:21:53 UTC
are all bsd systems like that ?
Comment 2 Yuta SATOH 2013-04-08 10:51:34 UTC
(In reply to comment #1)
> are all bsd systems like that ?

I think all BSD has lo0.


FYI, A list of links to man pages. please search 'lo0' in each page.

* FreeBSD (lo0 is not included in man page. Instead of URL handbook)
http://www.freebsd.org/doc/handbook/network-routing.html

man page
http://www.freebsd.org/cgi/man.cgi?query=lo&apropos=0&sektion=0&manpath=FreeBSD+9.1-RELEASE&arch=default&format=html

* NetBSD
http://netbsd.gw.com/cgi-bin/man-cgi?lo++NetBSD-current

* OpenBSD
http://www.openbsd.org/cgi-bin/man.cgi?query=lo&sektion=4


Others, I think BIND's test script is helpful to you.
http://opensource.apple.com/source/bind9/bind9-44/bind9/bin/tests/system/ifconfig.sh
Comment 3 Naohiro Aota gentoo-dev 2013-06-04 10:59:56 UTC
It seems that this is already solved in the git tree?