[PATCH] spec: Remove duplicate check of libvirtd status
Michal Prívozník
mprivozn at redhat.com
Mon Aug 1 10:53:22 UTC 2022
On 7/20/22 16:12, Jim Fehlig wrote:
> The %posttrans scriptlet checks if libvirtd is active within a
> condition that is only executed if libvirtd is active. Remove the
> duplicate check.
>
> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
> ---
>
> This patch contains an improvement Martin suggested while reviewing
> another patch to the posttrans scriptlet
>
> https://listman.redhat.com/archives/libvir-list/2022-July/232947.html
>
> The problem of not restarting socket units if libvird is inactive persists,
> but it is not clear if socket units need restarted on package update.
>
> libvirt.spec.in | 18 ++++++------------
> 1 file changed, 6 insertions(+), 12 deletions(-)
>
Reviewed-by: Michal Privoznik <mprivozn at redhat.com>
Michal
More information about the libvir-list
mailing list