public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: William Hubbs <williamh@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] rfc: OpenRC network provides revisited
Date: Fri, 24 Aug 2012 14:58:09 -0500	[thread overview]
Message-ID: <20120824195809.GA29450@linux1> (raw)
In-Reply-To: <1345830614.9332.38.camel@rook>

[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]

On Fri, Aug 24, 2012 at 01:50:14PM -0400, Alexandre Rostovtsev wrote:
> On Fri, 2012-08-24 at 12:10 -0500, William Hubbs wrote:
> > The second question this bug brings up is whether services should "need"
> > or "use" net. Remember that the "need" dependency will try to run the
> > needed service even if it is in init.d but not in a runlevel.
> 
> Presumably that depends on the service. If a daemon can deal with
> network interfaces going up and down, then "use net" of course makes
> more sense.
 
 This user is running with pre-configured interfaces (root is nfs
 mounted). The network interface configuration should not be touched by
 openrc.

If you look at his logs, one issue is that the "network" service is
starting even though it isn't in a runlevel. I have made changes in git
master so this will not be installed if you do not use the "newnet" use
flag.

When network interfaces are pre-configured, our network scripts
shouldn't run at all, but they can be forced to run if other services
have "need net" in their dependencies.

So my question is, should we change our services to "use net" instead of
"need net"?

William


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2012-08-24 19:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-24 17:10 [gentoo-dev] rfc: OpenRC network provides revisited William Hubbs
2012-08-24 17:50 ` Alexandre Rostovtsev
2012-08-24 19:58   ` William Hubbs [this message]
2012-08-24 21:01     ` Diego Elio Pettenò
2012-08-24 22:19     ` heroxbd
2012-08-25  1:17     ` Ian Stakenvicius
2012-08-25  5:14       ` [gentoo-dev] " Duncan
2012-08-24 22:40 ` [gentoo-dev] " heroxbd
2012-08-24 23:48   ` William Hubbs
2012-08-25  1:22     ` Ian Stakenvicius
2012-08-25  3:57       ` William Hubbs
2012-08-25  4:14         ` Diego Elio Pettenò
2012-08-25  6:19         ` heroxbd
2012-08-25 15:53           ` William Hubbs
2012-08-25 18:49             ` Ian Stakenvicius
2012-08-25 20:16               ` William Hubbs
2012-08-27 12:42                 ` Ian Stakenvicius

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=20120824195809.GA29450@linux1 \
    --to=williamh@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