public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] init script dependancies
@ 2002-10-17  2:10 Haplo
  2002-10-17  2:36 ` Mike Frysinger
  2002-10-17  6:25 ` Wilbert Berendsen
  0 siblings, 2 replies; 3+ messages in thread
From: Haplo @ 2002-10-17  2:10 UTC (permalink / raw
  To: gentoo-dev

Hey.  I have a small question.  Say for instance one is running a server
with a bunch of net based services.  And one has a semi dynamic ip
(changes once a month).  Now this really isn't crucial, but, when I
./net.eth1 stop and then ./net.eth1 start again, to restart dhcpcd to
aquire my new ip (since suddenly my internet has seized up I figure its
*that time* again), all my depend net services go down.  Which is
anoyying, but also unesecary.  Partly because I have an internal network
eth0 and so some really reall don't need to go down, and its a few extra
seconds of work for me (ok, so not really that bad).  Still, I was
woundering if in those services, instead of just removing the depends
net (which *would* work, but not so nice) I was woundering if I could
make them depend on all the net interfaces and yet use them
interchangeably.  Depend net.* was my first guess, but that failed
because it needed ALL the net interfaces to come up, and thus all failed
when net.ppp0 didn't come up ( 




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] init script dependancies
  2002-10-17  2:10 [gentoo-dev] init script dependancies Haplo
@ 2002-10-17  2:36 ` Mike Frysinger
  2002-10-17  6:25 ` Wilbert Berendsen
  1 sibling, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2002-10-17  2:36 UTC (permalink / raw
  To: gentoo-dev

http://bugs.gentoo.org/show_bug.cgi?id=2706
also, try `runscript` ... it'll show a lot of helpful information
-mike

On Wednesday 16 October 2002 10:10 pm, Haplo wrote:
> Hey.  I have a small question.  Say for instance one is running a server
> with a bunch of net based services.  And one has a semi dynamic ip
> (changes once a month).  Now this really isn't crucial, but, when I
> ./net.eth1 stop and then ./net.eth1 start again, to restart dhcpcd to
> aquire my new ip (since suddenly my internet has seized up I figure its
> *that time* again), all my depend net services go down.  Which is
> anoyying, but also unesecary.  Partly because I have an internal network
> eth0 and so some really reall don't need to go down, and its a few extra
> seconds of work for me (ok, so not really that bad).  Still, I was
> woundering if in those services, instead of just removing the depends
> net (which *would* work, but not so nice) I was woundering if I could
> make them depend on all the net interfaces and yet use them
> interchangeably.  Depend net.* was my first guess, but that failed
> because it needed ALL the net interfaces to come up, and thus all failed
> when net.ppp0 didn't come up (
>
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] init script dependancies
  2002-10-17  2:10 [gentoo-dev] init script dependancies Haplo
  2002-10-17  2:36 ` Mike Frysinger
@ 2002-10-17  6:25 ` Wilbert Berendsen
  1 sibling, 0 replies; 3+ messages in thread
From: Wilbert Berendsen @ 2002-10-17  6:25 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 17 October 2002 04:10, Haplo wrote:
> Hey.  I have a small question.  Say for instance one is running a server
> with a bunch of net based services.  And one has a semi dynamic ip
> (changes once a month).  Now this really isn't crucial, but, when I
> ./net.eth1 stop and then ./net.eth1 start again, to restart dhcpcd to
> aquire my new ip (since suddenly my internet has seized up I figure its
> *that time* again), all my depend net services go down.  Which is
> anoyying, but also unesecary.

You could use

	./net.eth1 pause start  

to take only that service down and restart it, without stopping depending 
services.

Bye,
Wilbert

- -- 
Wilbert Berendsen (http://www.xs4all.nl/~wbsoft/)
!! Please help ending Death-by-Stoning Sentences
!! http://www.mertonai.org/amina/OpenLetter.htm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9rlflx+vk367Vl7wRAr0DAKDafzdtg5Ztt8kq859YIn/zXzsmJgCbBxwK
UIknBL4KpdeawqMPMnkfa3s=
=6Mpc
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-17  6:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-17  2:10 [gentoo-dev] init script dependancies Haplo
2002-10-17  2:36 ` Mike Frysinger
2002-10-17  6:25 ` Wilbert Berendsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox