WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] add LSB header to xen-watchdog runlevel script [and 1 more messages]
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Mon, 26 Jul 2010 11:53:28 +0100
Cc: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>, Olaf Hering <olaf@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 26 Jul 2010 03:54:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1280140404.5872.6970.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20100723121324.GB3540@xxxxxxxxx> <19529.51008.134045.602693@xxxxxxxxxxxxxxxxxxxxxxxx> <20100726092344.GS13291@xxxxxxxxxxxxxxxxxxxxxxx> <20100723173620.GA7603@xxxxxxxxx> <19529.55727.859057.248861@xxxxxxxxxxxxxxxxxxxxxxxx> <20100723184317.GA9102@xxxxxxxxx> <19533.24220.728908.880255@xxxxxxxxxxxxxxxxxxxxxxxx> <1280139362.5872.6932.camel@xxxxxxxxxxxxxxxxxxxxxx> <19533.25085.23971.650621@xxxxxxxxxxxxxxxxxxxxxxxx> <1280140404.5872.6970.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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