[Pkg-xen-devel] xen-api: xcp-xapi.init conflicts with xend

Mike McClurg mike.mcclurg at gmail.com
Thu Dec 22 23:00:02 UTC 2011


On Thu, Dec 22, 2011 at 11:48 AM, Ian Campbell <ijc at hellion.org.uk> wrote:
> On Thu, 2011-12-22 at 10:39 +0000, Mike McClurg wrote:
>> We're developing on Ubuntu right now, and it looks like
>> xen-utils-common-4.1.0~rc6-1ubuntu1 is the latest we have. I'd like
>> our solution to work on both systems, so that we have to make minimal
>> changes between the debian and ubuntu packages.
>
> The way to achieve that is to request a sync of a newer Xen to Ubuntu
> rather than to add workarounds.
>
> Especially since Ubuntu currently contains an rc version.
>

Right, good point. Jon is working with Chuck Short to make this
happen. I believe that they'll be 4.1.2 soon. At the UDS, they
mentioned that they had hoped that 4.2 would be ready in time for
Precise, but I don't think that will happen now.

>> I had considered
>> checking for the pid file, but wasn't sure if that was the best way to
>> do it. If you think it is, I'll modify that pull request.
>
> I think TOOLSTACK=xapi should be accepted in /etc/default/xen and both
> the xen / xend and xapi initscripts should behave appropriately.
>

I would be very happy if TOOLSTACK=xapi were a valid setting. If we
need to rely on TOOLSTACK=xl for now, that would be fine.

> The xend initscript should only start xend iff TOOLSTACK=xend otherwise
> that is a bug IMHO.
>
> Arguably the xenconsole+xenstore stuff could be split into a separate
> initscript (which is what we did upstream) but that's not essential and
> a simpler solution might simply be to rename the script "xen" (even that
> isn't that important IMHO).
>

This seems like the right way, since xend is being deprecated anyway.
Our bare-minimum requirement is that we have a way to initialise
xenstored and xensconsoled, without starting xend, so I'll take
whatever solution allows this.

Mike



More information about the Pkg-xen-devel mailing list