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

Bug 436286

Summary: "need net" shouldn't hard-depend on net.eth0
Product: Gentoo Hosted Projects Reporter: Dirkjan Ochtman (RETIRED) <djc>
Component: OpenRCAssignee: OpenRC Team <openrc>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: openrc:oldnet
Package list:
Runtime testing required: ---

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.