public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/openrc:master commit in: conf.d/
Date: Thu, 29 Nov 2012 18:46:25 +0000 (UTC)	[thread overview]
Message-ID: <1354214074.8661af3223d4115284fcebdf430017d19581d611.WilliamH@OpenRC> (raw)

commit:     8661af3223d4115284fcebdf430017d19581d611
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Nov 29 18:34:34 2012 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Nov 29 18:34:34 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=8661af32

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 <AT> gmx.net
X-Gentoo-Bug: 445116
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=445116

---
 conf.d/netmount |   46 +++++++++++++++++++++++++++++++++-------------
 1 files changed, 33 insertions(+), 13 deletions(-)

diff --git a/conf.d/netmount b/conf.d/netmount
index 7df2c8d..fc19fd4 100644
--- a/conf.d/netmount
+++ b/conf.d/netmount
@@ -1,20 +1,40 @@
-# Depending on how mounting your network file systems behaves when your
-# network interfaces are down, you may need to set the netmount script to
-# require  specific network interfaces to be active. This file gives
-# examples of how to do this:
+# You will need to set the dependencies in the netmount script to match
+# the network configuration tools you are using. This should be done in
+# this file by following the examples below, and not by changing the
+# service script itself.
 #
-# If you are using newnet and configuring the interface with a static
-# address with the network script:
-# rc_need="network"
+# Each of these examples is meant to be used separately. So, for
+# example, do not set rc_need to something like "net.eth0 dhcpcd".
+#
+# 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
-# need:
+# need.
+#
+# This example assumes all of your netmounts can be reached on
+# eth0.
+#
+#rc_need="net.eth0"
 #
-# rc_need="net.eth0"
-# rc_need="net.eth1 net.eth2"
+# 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
-# 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="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="networkmanager"
-# rc_need="dhcpcd"
+rc_need="net"


             reply	other threads:[~2012-11-29 18:46 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-29 18:46 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-07-24 22:28 [gentoo-commits] proj/openrc:master commit in: conf.d/ William Hubbs
2016-11-03 17:07 William Hubbs
2016-07-19 17:37 William Hubbs
2016-07-19 17:37 William Hubbs
2016-07-19 17:37 William Hubbs
2016-07-19 17:37 William Hubbs
2016-01-19 22:26 William Hubbs
2015-11-11 21:54 William Hubbs
2014-08-22 19:10 William Hubbs
2014-08-10 18:08 ` William Hubbs
2014-03-13 20:28 William Hubbs
2014-01-09 20:14 William Hubbs
2012-07-09 14:28 William Hubbs
2012-06-07 15:56 William Hubbs
2012-03-02 17:06 William Hubbs
2011-10-08 18:54 Robin H. Johnson
2011-06-19 23:43 William Hubbs
2011-05-17 18:12 William Hubbs
2011-03-22  5:39 William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1354214074.8661af3223d4115284fcebdf430017d19581d611.WilliamH@OpenRC \
    --to=williamh@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox