Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 439572 - =sys-apps/openrc-0.11.1 rc_lo_provide="net" message does not provide a workaround for need net
Summary: =sys-apps/openrc-0.11.1 rc_lo_provide="net" message does not provide a workar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard: openrc:oldnet
Keywords:
Depends on:
Blocks: need-net
  Show dependency tree
 
Reported: 2012-10-24 21:16 UTC by Matthew Schultz
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 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.