Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] init script dependancies
Date: Wed, 16 Oct 2002 21:36:19
Message-Id: 200210162236.18830.vapier@gentoo.org
In Reply to: [gentoo-dev] init script dependancies by Haplo
1 http://bugs.gentoo.org/show_bug.cgi?id=2706
2 also, try `runscript` ... it'll show a lot of helpful information
3 -mike
4
5 On Wednesday 16 October 2002 10:10 pm, Haplo wrote:
6 > Hey. I have a small question. Say for instance one is running a server
7 > with a bunch of net based services. And one has a semi dynamic ip
8 > (changes once a month). Now this really isn't crucial, but, when I
9 > ./net.eth1 stop and then ./net.eth1 start again, to restart dhcpcd to
10 > aquire my new ip (since suddenly my internet has seized up I figure its
11 > *that time* again), all my depend net services go down. Which is
12 > anoyying, but also unesecary. Partly because I have an internal network
13 > eth0 and so some really reall don't need to go down, and its a few extra
14 > seconds of work for me (ok, so not really that bad). Still, I was
15 > woundering if in those services, instead of just removing the depends
16 > net (which *would* work, but not so nice) I was woundering if I could
17 > make them depend on all the net interfaces and yet use them
18 > interchangeably. Depend net.* was my first guess, but that failed
19 > because it needed ALL the net interfaces to come up, and thus all failed
20 > when net.ppp0 didn't come up (
21 >
22 >
23 > _______________________________________________
24 > gentoo-dev mailing list
25 > gentoo-dev@g.o
26 > http://lists.gentoo.org/mailman/listinfo/gentoo-dev