[Pkg-xen-devel] Re: [Pkg-xen-changes] r127 - trunk/xen-3.0/debian

Ralph Passgang ralph at debianbase.de
Tue Mar 21 18:05:39 UTC 2006


Hi Guido,

you sure to reimplement the invoke-rc.d stop call for xendomains and xend 
again in this form?

I think we want that xendomains & xend only get stopped when the package is 
removed/purged and not on a upgrade. on a upgrade only xend needs to be 
stopped and started again. xendomains shouldn't be stopped, because it 
shutdowns all domUs (which is not needed on a upgrade).

--Ralph

Am Dienstag, 21. März 2006 17:54 schrieb Guido Trotter:
> Author: ultrotter
> Date: 2006-03-21 16:54:07 +0000 (Tue, 21 Mar 2006)
> New Revision: 127
>
> Modified:
>    trunk/xen-3.0/debian/xen-utils-3.0.postrm
> Log:
> Stop xend & xendomains on remove, and call update-rc.d on purge...
>
>
> Modified: trunk/xen-3.0/debian/xen-utils-3.0.postrm
> ===================================================================
> --- trunk/xen-3.0/debian/xen-utils-3.0.postrm	2006-03-21 16:45:16 UTC (rev
> 126) +++ trunk/xen-3.0/debian/xen-utils-3.0.postrm	2006-03-21 16:54:07 UTC
> (rev 127) @@ -11,9 +11,13 @@
>  	XENSTORED_DIR="/var/lib/xenstored"
>  	[ -d "${XENSTORED_DIR}" ] && rm -r "${XENSTORED_DIR}"
>
> +	update-rc.d xend remove
> +	update-rc.d xendomains remove
>  	;;
>
>  remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
> +	invoke-rc.d xendomains stop || true
> +	invoke-rc.d xend stop || true
>  	;;
>
>  *)
>
>
> _______________________________________________
> Pkg-xen-changes mailing list
> Pkg-xen-changes at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-xen-changes



More information about the Pkg-xen-devel mailing list