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: signature.asc
Description: Digital signature

Reply via email to