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

Re: [Xen-API] [kronos] [XCP] [BUG] wrong paths in xcp-xapi init.d script


  • To: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
  • From: Thomas Goirand <thomas@xxxxxxxxxx>
  • Date: Thu, 05 Jan 2012 00:52:31 +0800
  • Delivery-date: Fri, 03 Feb 2012 14:01:08 +0000
  • Domainkey-signature: a=rsa-sha1; c=simple; d=goirand.fr; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=postfix; b=Q5W 12QPbYFrwg83QuPM0npw6in+WUQyXlnOfPxIrRSkbvtcJ1WFNyA9yyAo/crSTYSP 1IW1dkgX/Yf9Up4e77ErCFjwF50GTd9PcAV9FeBwj3FwAe3M3UbJdsoS084gCwlU QpzlRFVYV5C7bqD8iXxdO7AMd7BrzzbUa0nqQVN4=
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

On 01/04/2012 08:05 AM, George Shuklin wrote:
> Solution:
>
> Fix path to correct one.
>
> --- /tmp/etc/init.d/xcp-xapi    2011-12-12 15:41:13.000000000 +0400
> +++ /etc/init.d/xcp-xapi    2012-01-04 04:03:49.326368996 +0400
> @@ -95,8 +95,8 @@
>      # Check whether the md5 of the create-templates binary matches
> the one
>      # used previously. If not, recreate the templates.
>      if ! md5sum -c --status $TEMPLATES_MD5_STAMP ; then
> -        /usr/lib/xcp/lib/regenerate-templates start
> -        md5sum /usr/lib/xcp/lib/create_templates > $TEMPLATES_MD5_STAMP
> +        /usr/lib/xen-common/xapi/libexec/regenerate-templates start
> +        md5sum /usr/lib/xen-common/xapi/libexec/create_templates
> >$TEMPLATES_MD5_STAMP
>      fi
>  }
This has already been fixed in the Git (and in Debian),
and the solution was to package regenerate-templates /
create_templates in /usr/lib/xcp/lib rather than changing
the init.d script.

Cheers,

Thomas


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api


 


Rackspace

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