ts-libvirt-build: initscript should depend on xenstored service
PATCH 1/1 ts-libvirt-build: initscript should depend on xenstored service
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 <[email protected]>
--- ts-libvirt-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
ts-libvirt-build +2 -2
@@ -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
Signature · 1 line
2.1.4
Ian Campbell writes ("[PATCH OSSTEST] ts-libvirt-build: initscript should depend on xenstored service"):
Quoted 6 lines
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-xlBecause xen wasn't available when libvirt started.
Nice catch.
Acked-by Ian Jackson <[email protected]>