|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-API] [kronos] [XCP] [BUG] wrong paths in xcp-xapi init.d script
Summary: wrong paths to create_template binary.
Steps to reproduce:
a) Setup xcp
b) reboot
c) exec /etc/init.d/xcp-xapi restarts
Expect:
normal restart
Got:
Message from md5sum about lack of /usr/lib/xcp/lib/create_templates
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
}
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |