From: Ian Campbell Subject: [PATCH OSSTEST] ts-libvirt-build: initscript should depend on xenstored service Date: Tue, 26 May 2015 12:36:00 +0100 Message-ID: <1432640160-22228-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com Cc: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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 --- 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