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

Bug 439572

Summary: =sys-apps/openrc-0.11.1 rc_lo_provide="net" message does not provide a workaround for need net
Product: Gentoo Hosted Projects Reporter: Matthew Schultz <mattsch>
Component: OpenRCAssignee: OpenRC Team <openrc>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: openrc:oldnet
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 439092    

Description Matthew Schultz 2012-10-24 21:16:01 UTC
=sys-apps/openrc-0.11.1 rc_lo_provide="net" message does not provide a workaround for need net.  I tried specifying rc_lo_provide="net" in either /etc/conf.d/net or /etc/conf.d/network and it did not allow sshd, snmpd, ntp-client or syslog-ng to start.  The machine that this workaround did not work on is using a root nfs network filesystem so therefore net.lo and net.eth0 are already provided and are not started by openrc.

Reproducible: Always
Comment 1 William Hubbs gentoo-dev 2012-10-25 17:12:49 UTC
Try this:

For each service that doesn't start, append this line to
/etc/conf.d/<service>, and if that doesn't exist, create the file and
add this line:

rc_need="!net"

For more information, see this blog post:

http://blog.flameeyes.eu/2012/10/may-i-have-a-network-connection-please
Comment 2 Matthew Schultz 2012-10-25 17:52:32 UTC
That workaround actually works albeit, I think it's less work just to remove the need net line from the init script.  You should update the ebuild log message to reflect this different workaround.
Comment 3 William Hubbs gentoo-dev 2012-11-06 03:44:41 UTC
This is updated in OpenRC-0.11.4.