[PATCH] Revert "remote: Add libvirtd dependency to virt-guest-shutdown.target"

Jim Fehlig posted 1 patch 3 years, 2 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20210128192013.5387-1-jfehlig@suse.com
src/remote/virt-guest-shutdown.target | 1 -
1 file changed, 1 deletion(-)
[PATCH] Revert "remote: Add libvirtd dependency to virt-guest-shutdown.target"
Posted by Jim Fehlig 3 years, 2 months ago
Further testing revealed commit f035f53baa regresses Debian bug 955216

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955216

Restarting libvirt-guests on libvirtd restart is worse than the original
dependency issue, so revert the commit until a better solution is found.

This reverts commit f035f53baa2e5dc00b8e866e594672a90b4cea78.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
---
 src/remote/virt-guest-shutdown.target | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/remote/virt-guest-shutdown.target b/src/remote/virt-guest-shutdown.target
index e2efa3e63a..25d4aaa267 100644
--- a/src/remote/virt-guest-shutdown.target
+++ b/src/remote/virt-guest-shutdown.target
@@ -1,4 +1,3 @@
 [Unit]
 Description=Libvirt guests shutdown
-Requires=libvirtd.service
 Documentation=https://libvirt.org
-- 
2.29.2


Re: [PATCH] Revert "remote: Add libvirtd dependency to virt-guest-shutdown.target"
Posted by Daniel P. Berrangé 3 years, 2 months ago
On Thu, Jan 28, 2021 at 12:20:13PM -0700, Jim Fehlig wrote:
> Further testing revealed commit f035f53baa regresses Debian bug 955216
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955216
> 
> Restarting libvirt-guests on libvirtd restart is worse than the original
> dependency issue, so revert the commit until a better solution is found.
> 
> This reverts commit f035f53baa2e5dc00b8e866e594672a90b4cea78.
> 
> Signed-off-by: Jim Fehlig <jfehlig@suse.com>
> ---
>  src/remote/virt-guest-shutdown.target | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/remote/virt-guest-shutdown.target b/src/remote/virt-guest-shutdown.target
> index e2efa3e63a..25d4aaa267 100644
> --- a/src/remote/virt-guest-shutdown.target
> +++ b/src/remote/virt-guest-shutdown.target
> @@ -1,4 +1,3 @@
>  [Unit]
>  Description=Libvirt guests shutdown
> -Requires=libvirtd.service
>  Documentation=https://libvirt.org

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

Re: [PATCH] Revert "remote: Add libvirtd dependency to virt-guest-shutdown.target"
Posted by Christian Ehrhardt 3 years, 2 months ago
On Fri, Jan 29, 2021 at 10:48 AM Daniel P. Berrangé <berrange@redhat.com> wrote:
>
> On Thu, Jan 28, 2021 at 12:20:13PM -0700, Jim Fehlig wrote:
> > Further testing revealed commit f035f53baa regresses Debian bug 955216
> >
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955216
> >
> > Restarting libvirt-guests on libvirtd restart is worse than the original
> > dependency issue, so revert the commit until a better solution is found.
> >
> > This reverts commit f035f53baa2e5dc00b8e866e594672a90b4cea78.
> >
> > Signed-off-by: Jim Fehlig <jfehlig@suse.com>
> > ---
> >  src/remote/virt-guest-shutdown.target | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/src/remote/virt-guest-shutdown.target b/src/remote/virt-guest-shutdown.target
> > index e2efa3e63a..25d4aaa267 100644
> > --- a/src/remote/virt-guest-shutdown.target
> > +++ b/src/remote/virt-guest-shutdown.target
> > @@ -1,4 +1,3 @@
> >  [Unit]
> >  Description=Libvirt guests shutdown
> > -Requires=libvirtd.service
> >  Documentation=https://libvirt.org
>
> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>

Thanks Jim!
LGTM

Reviewed-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>

> Regards,
> Daniel
> --
> |: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
> |: https://libvirt.org         -o-            https://fstop138.berrange.com :|
> |: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
>


-- 
Christian Ehrhardt
Staff Engineer, Ubuntu Server
Canonical Ltd