[libvirt] [PATCH] spec: Don't save/restore running VMs on libvirt-client update

Eric Blake eblake at redhat.com
Mon Nov 25 16:00:43 UTC 2013


On 11/25/2013 08:53 AM, Jiri Denemark wrote:
> The previous attempt (commit d65e0e1) removed just one of two
> libvirt-guests restarts that happened on libvirt-client update. Let's
> remove the last one too :-)
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=962225
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  libvirt.spec.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

ACK.

> 
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index bbce8b5..d11b11f 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -1706,7 +1706,7 @@ fi
>  /sbin/ldconfig
>  %if %{with_systemd}
>      %if %{with_systemd_macros}
> -        %systemd_postun_with_restart libvirt-guests.service
> +        %systemd_postun libvirt-guests.service
>      %endif
>  %triggerun client -- libvirt < 0.9.4
>  %{_bindir}/systemd-sysv-convert --save libvirt-guests >/dev/null 2>&1 ||:
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131125/3f9dcb87/attachment-0001.sig>


More information about the libvir-list mailing list