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] xendomains init script

To: Xen development list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xendomains init script
From: Florian Kirstein <xenlist@xxxxxxxxxxxxxx>
Date: Fri, 31 Mar 2006 06:27:17 +0200
Cc: Daniel Veillard <veillard@xxxxxxxxxx>
Delivery-date: Fri, 31 Mar 2006 04:28:51 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060330212128.GQ14102@xxxxxxxxxx>; from veillard@xxxxxxxxxx on Thu, Mar 30, 2006 at 04:21:28PM -0500
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20051019094439.GQ8705@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20060330060933.C26981@xxxxxxxxxxx> <20060330212128.GQ14102@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.2.5.1i
Hi,

>  Associated bug at Red Hat is
>  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=171056
Oh, if I had known the old version (completely different from the more
advanced current one) of the script already had the same problem, I had
searched there :)

> yes this is a problem, but I didn't tried the patch yet, I assume you tested
> it on FC5,
The patch works for xen 3.0.1 (and newer, possibly some older)
on all redhat-based distributions, as it simply moves the redhat check
before the LSB check (like Jonathan did for the older script).
Additionally it "fixes" the alias problem for possible other
distributions which also use aliases to build the LSB compatibility.

And yes: the patch applies cleanly when added for example as Patch13
(using -p1) to the FC5 xen SRPM, even though I intended it to be included
in the main xen distribution as I don't see any negative impacts - and it's
a bug in the script in the first place to assume no aliases are used for
LSB.

For RedHat I'd independently suggest to follow 
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=171052
and change the lsb-compatibility. Sure, LSB explicitly allows use of
aliases as the link in my original mail shows, so it is not really
a bug if you read the spec by the word, but IMHO it's still a bad
idea to do so :) Using functions like suggested in Bug 158183 and the
one linked above simply will result in less trouble also in possible
other cases.

(:ul8er, r@y
(oh my god, how much text for such a simple issue, sorry to all :)

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

<Prev in Thread] Current Thread [Next in Thread>