Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390171 - sys-apps/openrc - shutdown_network handled incorrectly
Summary: sys-apps/openrc - shutdown_network handled incorrectly
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: OpenRC Team
URL:
Whiteboard: openrc:oldnet
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-11 11:08 UTC by Helmut Auer
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 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.