Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436286 - "need net" shouldn't hard-depend on net.eth0
Summary: "need net" shouldn't hard-depend on net.eth0
Status: RESOLVED INVALID
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:
 
Reported: 2012-09-26 10:46 UTC by Dirkjan Ochtman (RETIRED)
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 Dirkjan Ochtman (RETIRED) gentoo-dev 2012-09-26 10:46:28 UTC
Services that have "need net" apparently depend on net.eth0 specifically. I wonder if there isn't a better default, like depending on any net.* except net.lo. For example, it seems pretty stupid to take down sshd if some net connection is still available.
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2012-09-26 11:06:59 UTC
I just found the rc_depend_strict toggle in rc.conf. What are the reasons to have it default to strict mode?
Comment 2 SpanKY gentoo-dev 2012-09-26 16:25:26 UTC
the default has been discussed on the mailing list and bugs in the past.  sounds like your bug as reported is invalid.
Comment 3 William Hubbs gentoo-dev 2012-09-26 16:36:06 UTC
The definition of the net virtual is changing so that in order to provide it, something must provide a connection to the outside world. This means that in openrc-0.11, the loopback interface will no longer provide net.