[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] add LSB header to xen-watchdog runlevel script [and 1 more messages]



Ian Campbell writes ("Re: [Xen-devel] [PATCH] add LSB header to xen-watchdog 
runlevel script [and 1 more messages]"):
> On Mon, 2010-07-26 at 11:22 +0100, Ian Jackson wrote:
> > So I conclude that you think the patch is wrong ?
> 
> If it causes the watchdog to be enabled then yes.

LSB 3.2 Core 20.3 [1]
says:

  Default-Start: run_level_1 [run_level_2...]
  Default-Stop: run_level_1 [run_level_2...]

      which run levels should by default run the init script with a
      start (stop) argument to start (stop) the services controlled by
      the init script

      For example, if a service should run in runlevels 3,4, and 5
      only, specify "Default-Start 3 4 5" and "Default-Stop: 0 1 2 6"

That seems fairly clear that it's supposed to control the default.
I don't know whether any distros automatically honour these settings
but I wouldn't be surprised if some of the fancy new parallel init
systems did.

[1] 
http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html

> BTW, from the original patch:
> +# Required-Start:    xend
> 
> Is that accurate? I'd have thought the watchdog ought to function
> independent of xend, e.g. on a pure xl system. I don't see anything to
> the contrary in a quick glance through the code.

You are quite right.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.