In order that xencommons is guarenteed to have been started before
libvirtd. Otherwise sometimes libvirt can be started first resulting
in:
        error: invalid argument: unsupported config type xen-xl

Because xen wasn't available when libvirt started.

Signed-off-by: Ian Campbell <ian.campb...@citrix.com>
---
 ts-libvirt-build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ts-libvirt-build b/ts-libvirt-build
index 537742b..38f2cfd 100755
--- a/ts-libvirt-build
+++ b/ts-libvirt-build
@@ -108,8 +108,8 @@ sub libvirtd_init () {
 #
 ### BEGIN INIT INFO
 # Provides:          libvirt-bin libvirtd
-# Required-Start:    $network $local_fs $remote_fs $syslog
-# Required-Stop:     $local_fs $remote_fs $syslog
+# Required-Start:    $network $local_fs $remote_fs $syslog xenstored
+# Required-Stop:     $local_fs $remote_fs $syslog xenstored
 # Should-Start:      avahi-daemon cgconfig
 # Should-Stop:       avahi-daemon cgconfig
 # Default-Start:     2 3 4 5
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to