-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 25/08/12 04:16 PM, William Hubbs wrote: > > The bottom line here is: I don't think all of the services we have > set up to "need net" in their default configuration should be set > up that way. It would make OpenRC work out of the box for many > more configurations. [ Snip! ] This is really more an idiology > thing I guess, but I think if you are tweeking a specific service > it should be done in the /etc/conf.d/service file. To follow the > example above, to make a particular service provide net, it is > better imo to put rc_provide="net" in /etc/conf.d/service. > > If you want to change this in rc.conf, use the > rc_[service]_[depend] variable instead of rc_[depend]. RC_[depend] > in rc.conf will apply that dependency to *all* services on your > system, including any new ones that get installed later, so be > absolutely sure you know what you are doing if you use this.
I concurr with your analysis, just not your conclusions. :) I very much like (and depend on, in certain cases) the way depends on the 'net' service are set now, and would prefer they stay that way. Relatedly, since the only cases I'm aware of where it is desired for this to change are cases such as NFS-roots or vm's/containers where the 'net' service is up before openrc begins, to me this is a system-wide effect and not something that should be tweaked per-service. To change the default and then require per-service tweaks to get old behaviour back is imo not a particularly good idea. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EAREIAAYFAlA7axoACgkQ2ugaI38ACPDAfAD/YpiHpAp2tMDhqBm5V19KTmwU BgavBXMATRcJeWETmV4A/1egNPg7i1pRpzWTLa7//Ano108rRQ9Ff9xZN01EBh1E =N0n2 -----END PGP SIGNATURE-----