1 |
On Mon, 2001-12-24 at 01:13, Martin Schlemmer wrote: |
2 |
> On Mon, 2001-12-24 at 00:40, Sebastian Werner wrote: |
3 |
> > Many other problems there. If I stop net.ppp it will stop near 10 |
4 |
> > services (samba, apache, ...). But the depend line in net.ppp only |
5 |
> > contains net.eth0 (on my system). Why this ugly ;-) script think they |
6 |
> > depend on this. They start after net.ppp but means this they depend on |
7 |
> > net.ppp? |
8 |
> |
9 |
> I am not sure I understand ? what depend line in net.ppp ? |
10 |
> where did you get this script/with what package does it come? |
11 |
> |
12 |
> I also use ppp, but when I stop it, only it stops, and not |
13 |
> all the rest. I will do some testing to verify this, but for |
14 |
> now try not to add net.ppp0 to a runlevel. |
15 |
> |
16 |
> In general, if a net.* service is added to the default |
17 |
> runlevel, the behaviour will be that it will be included in |
18 |
> the 'net' dependancy, this, if you stop it, everything |
19 |
> depending on 'net' will stop. |
20 |
> |
21 |
> Like I said, if you want to stop a net.* service, and not |
22 |
> stop the services depending on 'net', dont add that net.* |
23 |
> service to a runlevel. |
24 |
> |
25 |
> We could probably devise a hack for this, but currently I do |
26 |
> not see a need for this. Just add |
27 |
|
28 |
My reason for being against it, is that if you dont want |
29 |
it to be included in the 'net' dependancy (meaning, you |
30 |
dont want all services depending on 'net' to stop when |
31 |
stopping it), is that why must it be part of the boot/default |
32 |
runlevel if services dont depend on it ? |
33 |
|
34 |
A service like that usually gets started after boot, like |
35 |
ppp. Most users that use ppp and want to stop if freely all |
36 |
the time, do not have a perm/free connection. And anyhow, |
37 |
if something does depend on net.ppp0, add net.ppp0 to its |
38 |
'need' line, then net.ppp0 will still be started at boot, |
39 |
but only this service will stop when net.ppp0 is stopped. |
40 |
|
41 |
> |
42 |
> /etc/init.d/net.ppp0 start |
43 |
> |
44 |
> to /etc/init.d/local, and you should be set if you want it |
45 |
> to start at boot. |
46 |
> |
47 |
> What do you think Daniel? |
48 |
|
49 |
|
50 |
Greetings, |
51 |
-- |
52 |
|
53 |
Martin Schlemmer |
54 |
Gentoo Linux Developer, Desktop Team Developer |
55 |
Cape Town, South Africa |