|
Subject: Racing in init scripts Newsgroups: gmane.linux.gentoo.devel Date: 2003-10-15 01:36:10 GMT (4 years, 44 weeks, 2 days, 6 hours and 52 minutes ago) While not exactly a "show stopper," I find that a number of the init scripts (namely apache, bind, and maybe cyrus, IIRC) race too quickly during a 'restart.' For instance, my nameservers (all gentoo) with more than ~12 zones take a second to stop listening on the interfaces and close the logs. Before they stop, init has already tried to start named again. You see the problem. This leads to failed starts which always makes me panic for a second before I realize it just ran too fast. Throwing a 'sleep' in there doesn't always seem like a good idea because the shutdown time is variable and putting a 'sleep 5' between start and stop makes things annoying. Just food for thought, I suppose. Anyone else notice this? (FWIW, I've seen this on almost every other linux distro out there as well, but fixing it wouldn't keep me up at night.) TIA. -- Eric Sammer eric <at> ineoconcepts.com http://www.ineoconcepts.com -- gentoo-dev <at> gentoo.org mailing list |
|
|