Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Starting and Stopping critical services when upgrades happen

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: David Brown <dmlb2000 AT gmail.com>
  • To: David Brown <dmlb2000 AT gmail.com>, sm-discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] Starting and Stopping critical services when upgrades happen
  • Date: Thu, 18 Aug 2005 09:58:44 -0700

>
> We can have the general defaults be:
>
> 1. Never Restart
> 2. Don't Restart unless spell hints restart is safe <-- default
> 3. Restart unless spell hints restart is unsafe
> 4. Always Restart
>
> Hint policy: if it breaks both on restarting and not restarting, default
> to not restart.
>
> init scripts could have:
> UPGRADE_SAFE="yes" to hint that restarting is ok (won't restart under
> option 1)
> UPGRADE_SAFE="no" to hint restarting is not ok (will restart under option 4)
> UPGRADE_SAFE undefined hints that restarting is going to be assumed to be
> not ok under option 2 (default), ok under option 3.
>
> Of course per-spell/during-configure selection would override this behavior.
>
> I assume that takes care of most anybody's concerns (besides it being
> "more work"/"too much choice").
>

This sounds fine by me I added a WIP to devel udev so if anyone gets
to adding an initscript for that spell you'll have to modify the
Makefile to prevent it from restarting udevd the patch is still in the
repository, and so is the extra C file (that isn't needed anymore).

If no one gets to it by the time I get home I'll fix up the spell.

- David Brown




Archive powered by MHonArc 2.6.24.

Top of Page