]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
ts-libvirt-build: initscript should depend on xenstored service
authorIan Campbell <ian.campbell@citrix.com>
Tue, 26 May 2015 11:36:00 +0000 (12:36 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 10 Jun 2015 10:06:19 +0000 (11:06 +0100)
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.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
ts-libvirt-build

index 537742b33bef1e4f3e548fb3c390ed42b4c8d07e..38f2cfd0c26a41f9c3ab8e296fc5a5176229219e 100755 (executable)
@@ -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