netmount: make "net" the default network option for now

Currently, we have the net virtual, so we should use it as the default
in this instance so that netmount comes up after it thinks the network
is up. However, this is technically eroneous, because there is no way to
know from the init system that we really have network connectivity.

Reported-by: cheepeero@gmx.net
X-Gentoo-Bug: 445116
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=445116
This commit is contained in:
William Hubbs 2012-11-29 12:34:34 -06:00
parent 5cce37837b
commit 8661af3223

View File

@ -1,20 +1,40 @@
# Depending on how mounting your network file systems behaves when your # You will need to set the dependencies in the netmount script to match
# network interfaces are down, you may need to set the netmount script to # the network configuration tools you are using. This should be done in
# require specific network interfaces to be active. This file gives # this file by following the examples below, and not by changing the
# examples of how to do this: # service script itself.
# #
# If you are using newnet and configuring the interface with a static # Each of these examples is meant to be used separately. So, for
# address with the network script: # example, do not set rc_need to something like "net.eth0 dhcpcd".
# rc_need="network" #
# If you are using newnet and configuring your interfaces with static
# addresses with the network script, you should use this setting.
#
#rc_need="network"
# #
# If you are using oldnet, you must list the specific net.* services you # If you are using oldnet, you must list the specific net.* services you
# need: # need.
# #
# rc_need="net.eth0" # This example assumes all of your netmounts can be reached on
# rc_need="net.eth1 net.eth2" # eth0.
#
#rc_need="net.eth0"
#
# This example assumes some of your netmounts are on eth1 and some
# are on eth2.
#
#rc_need="net.eth1 net.eth2"
# #
# If you are using a dynamic network management tool like # If you are using a dynamic network management tool like
# networkmanager, dhcpcd, etc, you should list that tool here. # networkmanager, dhcpcd in standalone mode, wicd, badvpn-ncd, etc, to
# manage the network interfaces with the routes to your netmounts, you
# should list that tool.
# #
# rc_need="networkmanager" #rc_need="networkmanager"
# rc_need="dhcpcd" #rc_need="dhcpcd"
#rc_need="wicd"
#
# The default setting is designed to be backward compatible with our
# current setup, but you are highly discouraged from using this. In
# other words, please change it to be more suited to your system.
#
rc_need="net"