public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] Racing in init scripts
  @ 2003-10-15 13:11 99%     ` Corvus Corax
  0 siblings, 0 replies; 1+ results
From: Corvus Corax @ 2003-10-15 13:11 UTC (permalink / raw
  To: gentoo-dev

Am Wed, 15 Oct 2003 04:42:29 -0400
schrieb Eric Sammer <eric@ineoconcepts.com>:

> I did find one instance where this is problematic: When using logrotate 
> to handle log files, some apps need to be restarted to create and start 
> logging again. In this case, one would be shooting themselves in the 
> foot by using the init scripts in their current incarnation - your 
> services wouldn't come back up. This would be A Very Bad Thing(tm).
> 
> -- 
> Eric Sammer
> eric@ineoconcepts.com
> http://www.ineoconcepts.com
> 

This is Corvus Corax, I unfortunately stepped into exactly that "Very Bad Thing"(tm)
when porting some automatic re-connection scripts
(where net-dependant services had to be restarted partially)
to a slower machine, wher "restart" was just too fast for the services, to come down

i had to do it via "xxx stop && sleep 5 && xxx start"

the problem is, a "net.eth0 restart" for example would re-start all net - dependant services, too.
with a "stop -- start" they dont come up again automaticaly, so i have to handle each running service
manually, status confirmed as "very evil, very nasty thing" (tm)


CvC




--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2003-10-15  1:36     [gentoo-dev] Racing in init scripts Eric Sammer
2003-10-15  8:21     ` Paul de Vrieze
2003-10-15  8:42       ` Eric Sammer
2003-10-15 13:11 99%     ` Corvus Corax

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