Skip to content
Snippets Groups Projects
Commit 2a7cb3b8 authored by Guido Günther's avatar Guido Günther
Browse files

move startup of libvirtd after hal

Closes: #522310
parent 78cd5c8f
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@
# Provides: libvirtd
# Required-Start: $network $local_fs
# Required-Stop:
# Should-Start: hal
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: libvirt management daemon
......
......@@ -31,6 +31,19 @@ case "$1" in
else
/etc/init.d/libvirt-bin stop
fi
sleep 1
fi
if dpkg --compare-versions "$2" lt "0.6.1-2"; then
if [ -e /etc/rc2.d/S20libvirt-bin ] && \
[ -e /etc/rc3.d/S20libvirt-bin ] && \
[ -e /etc/rc4.d/S20libvirt-bin ] && \
[ -e /etc/rc5.d/S20libvirt-bin ] && \
[ -e /etc/rc0.d/K20libvirt-bin ] && \
[ -e /etc/rc1.d/K20libvirt-bin ] && \
[ -e /etc/rc6.d/K20libvirt-bin ]; then
update-rc.d -f libvirt-bin remove >/dev/null
fi
fi
;;
......
......@@ -36,7 +36,7 @@ DEB_DBG_PACKAGES = libvirt0-dbg
DEB_DBG_PACKAGE_libvirt0 = libvirt0-dbg
DEB_PYTHON_SETUP_CMD := /dev/null
DEB_DH_MAKESHLIBS_ARGS_libvirt0 += -V 'libvirt0 (>= 0.5.0)'
DEB_DH_INSTALLINIT_ARGS := --no-restart-on-upgrade
DEB_DH_INSTALLINIT_ARGS := --no-restart-on-upgrade -- defaults 28 72
DEB_DH_INSTALLLOGROTATE_ARGS := --name=libvirtd
EXAMPLES=debian/libvirt-doc/usr/share/doc/libvirt-doc/examples/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment