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