# HG changeset patch # User David Scott # Date 1276890866 -3600 # Node ID 8ccd23b730976e8fc3db9def2e9ffde95e4b8486 # Parent 1c21253d56c8b979e5e9e4ef739eca21b51b3a77 In the xapi RPM post-install actions, use 'chkconfig --add' rather than 'chkconfig ... on' otherwise services are shutdown in the wrong order, causing a slave host to freeze during reboot. (Thanks to James Bulpin for figuring out what was going on :-) Signed-off-by: David Scott diff -r 1c21253d56c8 -r 8ccd23b73097 xapi.spec --- a/xapi.spec Fri Jun 18 18:40:07 2010 +0100 +++ b/xapi.spec Fri Jun 18 20:54:26 2010 +0100 @@ -100,12 +100,12 @@ rm -rf $RPM_BUILD_ROOT %post core -[ ! -x /sbin/chkconfig ] || chkconfig xapi on -[ ! -x /sbin/chkconfig ] || chkconfig management-interface on -[ ! -x /sbin/chkconfig ] || chkconfig xenservices on -[ ! -x /sbin/chkconfig ] || chkconfig xapi-domains on -[ ! -x /sbin/chkconfig ] || chkconfig perfmon on -[ ! -x /sbin/chkconfig ] || chkconfig v6d on +[ ! -x /sbin/chkconfig ] || chkconfig --add xapi +[ ! -x /sbin/chkconfig ] || chkconfig --add management-interface +[ ! -x /sbin/chkconfig ] || chkconfig --add xenservices +[ ! -x /sbin/chkconfig ] || chkconfig --add xapi-domains +[ ! -x /sbin/chkconfig ] || chkconfig --add perfmon +[ ! -x /sbin/chkconfig ] || chkconfig --add v6d %post squeezed [ ! -x /sbin/chkconfig ] || chkconfig squeezed on