From nobody Sat Sep 21 03:18:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673360830; cv=none; d=zohomail.com; s=zohoarc; b=C3XDt16q6vf1iQiYfKmXsYzNF7QY+LV63VRSOGwz6/FTE5cq/c3EpMUS2eTG4QVkKF8yslUqQwOzVaSIonoHAIiDj4ErSRomaRQPb3WsnlqhA5I6h1NMx7ztLcHrq9f79U6AyAdU0UAqi45Dmboa/KI9AeMza6M+YPfhEUFmVk8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673360830; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=/NAsLFqT2/nDRCd1Yic6NXkdg5tlcpZ/iCDo2gRctzc=; b=MyEFICbwUvW89Y5XoC99G7zrqTnUC3otborRbaLmeyLE8pfbHKjMLog5IoATNhFOyS8jyUmoI0wonUY4AzwkD+AYj+3IhNgiPKvxp6SqGl1yNDNdyRffvGdeFX+K45qknUYynQI8q5966ujHEnsHz01ZtbbzgbTEVji8DCQ+Kkk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1673360830547728.9665469656215; Tue, 10 Jan 2023 06:27:10 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-652-YFPNHB__PiSsjHC62OrGFQ-1; Tue, 10 Jan 2023 09:27:08 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7E63118ABF83; Tue, 10 Jan 2023 14:27:06 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6625F40C2005; Tue, 10 Jan 2023 14:27:06 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 4FD36194E10E; Tue, 10 Jan 2023 14:27:06 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id E24571946587 for ; Tue, 10 Jan 2023 14:27:04 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id D056D1121318; Tue, 10 Jan 2023 14:27:04 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C91971121314 for ; Tue, 10 Jan 2023 14:27:04 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A8060802D1A for ; Tue, 10 Jan 2023 14:27:04 +0000 (UTC) Received: from mail-yw1-f200.google.com (mail-yw1-f200.google.com [209.85.128.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-189-8eflerFCOxWrbbYxgIh17w-1; Tue, 10 Jan 2023 09:27:02 -0500 Received: by mail-yw1-f200.google.com with SMTP id 00721157ae682-46eb8a5a713so127609247b3.1 for ; Tue, 10 Jan 2023 06:27:02 -0800 (PST) Received: from wheatley.localdomain (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id v7-20020a05620a440700b006fb112f512csm7237074qkp.74.2023.01.10.06.27.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 06:27:01 -0800 (PST) Received: from wheatley.redhat.com (wheatley.k8r.cz [127.0.0.1]) by wheatley.localdomain (Postfix) with ESMTP id 83D1DC967F02 for ; Tue, 10 Jan 2023 15:26:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673360829; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=/NAsLFqT2/nDRCd1Yic6NXkdg5tlcpZ/iCDo2gRctzc=; b=dA/ZzmdYmNZe1wjJtCiwKc9kC2umyIBcuUZzdBljevtzBvT4A5N9px2zxUFdX/c3exy7L0 wT5Dby9PFE5p8Co3gyh8pZb6VUtVOqqUyDjQ/SINsyUB9LulHDcbiKneJnr3Pdn9mV6RR1 s6eWT+PjFyRoP68QRLNNOT7005n33Bg= X-MC-Unique: YFPNHB__PiSsjHC62OrGFQ-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: 8eflerFCOxWrbbYxgIh17w-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/NAsLFqT2/nDRCd1Yic6NXkdg5tlcpZ/iCDo2gRctzc=; b=glGW2UpD2q0q0yM7A63Q4/rJjYdAqUt65McGRhFdLcR6/OQULbQkNi104WhbHjuGSx w5GO0GBjwkumSHLXCkox83iBiBrlrByRL4RRKT85zQmtc/wjcr4yYwzGqN6+LIT5Cqiy jh8vhhpztzGs0hhWZD4ZdRS4R4nU0RKhP/+CTvWA1D+vGjiAr5siOdDz9rBTHWsTyRkO qSwvMhq7IRvPcblUwkiV3BsSz0jkD6EzVWoNCFNYVE6lo1WdNAXcnXD5U9vA2miY9gmc QVrTve8fuJkM7yf9T9Y1HOxDjNMd1cLp0y4qwnWZDyAn3CucxcGatAf3HVhHjs/UnryT wQ4A== X-Gm-Message-State: AFqh2kpHWWU5ZLjjEvFO6yBrAv0NLDujt+JIwcUjVkq2oikHbvxkKVb5 s8eRevQeuZejQbl7UzoQ2ILqILb07QzBp/gvqxlUIfcSCy0pcfx3LKAKZoFrgWsRdooUu3RYv9N 7kaTJArO0lQGe9Jq2VmCjTqs+V6H1E0yEHyFIu1L2U09IWEe3rtdeUhA5Afd0sGn9pecdgIU= X-Received: by 2002:a05:6902:4c8:b0:7ba:a3:3ccf with SMTP id v8-20020a05690204c800b007ba00a33ccfmr11779308ybs.46.1673360821848; Tue, 10 Jan 2023 06:27:01 -0800 (PST) X-Google-Smtp-Source: AMrXdXtjBhlxwC88p7Sy1O82xhh9w0q+kIwDy9HAOLZZhIUV0O0VURsw0e4CfRQwRPBEYxzGYNVUxA== X-Received: by 2002:a05:6902:4c8:b0:7ba:a3:3ccf with SMTP id v8-20020a05690204c800b007ba00a33ccfmr11779284ybs.46.1673360821568; Tue, 10 Jan 2023 06:27:01 -0800 (PST) From: Martin Kletzander To: libvir-list@redhat.com Subject: [PATCH] spec: Restart libvirtd on upgrade without socket activation Date: Tue, 10 Jan 2023 15:26:54 +0100 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1673360831939100001 Content-Type: text/plain; charset="utf-8"; x-default="true" The %posttrans phase needs has a special case for upgrading libvirt daemon with --listen, but it forgot to also restart the daemon in order to run the new installed version. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=3D1820437 Signed-off-by: Martin Kletzander Reviewed-by: Jiri Denemark Reviewed-by: J=C3=A1n Tomko --- libvirt.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git a/libvirt.spec.in b/libvirt.spec.in index d9529fc76c4a..77b274b6f91d 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1449,6 +1449,7 @@ then libvirtd-admin.socket \ libvirtd-tls.socket \ libvirtd-tcp.socket >/dev/null 2>&1 || : + /bin/systemctl try-restart libvirtd.service >/dev/null 2>&1 || : else # Old libvirtd owns the sockets and will delete them on # shutdown. Can't use a try-restart as libvirtd will simply --=20 2.39.0