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

Bug 390171

Summary: sys-apps/openrc - shutdown_network handled incorrectly
Product: Gentoo Hosted Projects Reporter: Helmut Auer <helmut>
Component: OpenRCAssignee: OpenRC Team <openrc>
Status: RESOLVED WONTFIX    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: openrc:oldnet
Package list:
Runtime testing required: ---

Description Helmut Auer 2011-11-11 11:08:09 UTC
In /etc/init.d/network (part of OpenRC) in the shutdown section there is a line:

yesno ${shutdown_network:-YES} && yesno $RC_GOINGDOWN && return 0

So if I want to shutdown the network interfaces during shutdown I have to set

shutdown_network=NO 

in /etc/conf.d/network. Thats not really self-explaining ;)
The variable should be named noshutdown_network.


Reproducible: Always
Comment 1 William Hubbs gentoo-dev 2011-11-11 15:53:32 UTC
We are planning on removing the newnet scripts (/etc/init.d/network and /etc/init.d/staticroute) from openrc, so I recommend that you use the net.* scripts instead.