]> xenbits.xensource.com Git - people/iwj/xen.git/commitdiff
xendomains init script; Add dependency on $network
authorIan Jackson <ian.jackson@citrix.com>
Thu, 21 Feb 2019 17:32:01 +0000 (17:32 +0000)
committerIan Jackson <ian.jackson@citrix.com>
Fri, 22 Feb 2019 14:00:16 +0000 (14:00 +0000)
xendomains generally needs to start after the bridge is set up.

In
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798510#20
it was reported that for that user this improves things.

We expect that this change may help with (or at least mask) some other
starup races such as that in the original report for #798510.

Closes: #798510
Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
debian/xen-utils-common.xendomains.init

index 36d23f722beb86a700366bf90ec8e2cde9aeb927..53457ce59780bac87c1a12c214976813ad5185ee 100644 (file)
@@ -1,8 +1,8 @@
 #!/bin/bash
 ### BEGIN INIT INFO
 # Provides:          xendomains
-# Required-Start:    $syslog $remote_fs xen
-# Required-Stop:     $syslog $remote_fs xen
+# Required-Start:    $syslog $network $remote_fs xen
+# Required-Stop:     $syslog $network $remote_fs xen
 # Should-Start:      drbd iscsi openvswitch-switch
 # Should-Stop:       drbd iscsi openvswitch-switch
 # X-Start-Before:    corosync heartbeat libvirtd