diff options
author | William Hubbs <williamh@gentoo.org> | 2011-04-10 16:10:47 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-04-10 16:10:47 -0500 |
commit | 8e925368b7a07df23bc168ce4f50dc826181411b (patch) | |
tree | 3ebbc472c09e50aabfecfb553fc8ec704af3e9ca /doc | |
parent | 15660dbbfcbf8eace589a3284130036b481c1cdf (diff) |
bring up the loopback interface earlier
For most situations, the loopback interface can depend on root instead
of localmount, so this patch makes that happen. It also adds comments to
the net.example files explaining when a user might want to change this
and giving an example.
I would like to thank Robin Johnson for the original patch and suggested
examples.
X-Gentoo-Bug: 292894
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=292894
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/net.example.BSD.in | 9 | ||||
-rw-r--r-- | doc/net.example.Linux.in | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/doc/net.example.BSD.in b/doc/net.example.BSD.in index 2329fa22..eacfca67 100644 --- a/doc/net.example.BSD.in +++ b/doc/net.example.BSD.in @@ -359,6 +359,15 @@ # manager like resolvconf-gentoo to manage this file for you. All packages # that baselayout supports use resolvconf-gentoo if installed. +# If you run any services on net.lo which need localmount, either the +# services or net.lo should explicitly bring in localmount. +# If you do not do this, openrc will try to bring up net.lo as soon as +# possible, which may be too early for your services. +# If you use network file systems for your core system this may +# interfere. +# Also, you may need this if 127.0.0.1 is in your /etc/resolv.conf. +#rc_net_lo0_need="localmount" + #----------------------------------------------------------------------------- # Cable in/out detection # Sometimes the cable is in, others it's out. Obviously you don't want to diff --git a/doc/net.example.Linux.in b/doc/net.example.Linux.in index 709e201b..844a67a9 100644 --- a/doc/net.example.Linux.in +++ b/doc/net.example.Linux.in @@ -962,6 +962,15 @@ # manager like resolvconf-gentoo to manage this file for you. All packages # that baselayout supports use resolvconf-gentoo if installed. +# If you run any services on net.lo which need localmount, either the +# services or net.lo should explicitly bring in localmount. +# If you do not do this, openrc will try to bring up net.lo as soon as +# possible, which may be too early for your services. +# If you use network file systems for your core system this may +# interfere. +# Also, you may need this if 127.0.0.1 is in your /etc/resolv.conf. +#rc_net_lo_need="localmount" + #----------------------------------------------------------------------------- # Cable in/out detection # Sometimes the cable is in, others it's out. Obviously you don't want to |