From patchwork Tue Jun 12 13:47:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 138345 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5379304lji; Tue, 12 Jun 2018 06:48:00 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKMsaLgjdwzFFQQiPhrWjw5EUl/L/mHURmyVQV8ORjlilyibPu1C+zLZQHTohJYdc5HWPxo X-Received: by 2002:aca:3b09:: with SMTP id i9-v6mr2134601oia.156.1528811280729; Tue, 12 Jun 2018 06:48:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528811280; cv=none; d=google.com; s=arc-20160816; b=TsCCKv1CPMHb+UbkJmeMEWZSz1o+naHv8hEOR04707ZhgI3LVUpPtGaehXuzufUshO T7ueiuiMt36TBmxdZcwm+GkfW9yMm5AppinhS0XhBuWtXVqJplomWQjbK3a+RU1vicQt NSjEu1Uje48adAYEdHi/uidzlswPKx9ZYIBWqJP5AyTXM+pt1Oma27O9HAsH0VMz01Gt YMTV0zficBrEDZktBam5HAmxPzA8wkuwPQ6R+FHqCk30vZs1YcGp5DcXrw8Tcuxh6M0y 5aOJz4x4qVfu8ifypYj2T/qOczQ87b1EjMg3AOiUO3bUsnAOOKlWXKBBmujlCHXCuPp4 5nnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:delivered-to :arc-authentication-results; bh=SIxbzFv3hwL+1lY7jBRTl6m85kCuxS8RXPLOxmgJaK8=; b=GSw0YR5zL8YeDkTZxq/55MCwkDLHBSN9KQB3NRlGPAMz4hjEsF3hGY2R2l5zY0A/Wb zDPiIsYhMum9nb0yDdDdhsllUcYzu96lxdctDzlt0ew4+5F5CNRBTpfZyfKyVgfOUvRD 0Tr5RLV+FPI5gp0j4/nUl+BTIiVZXQw2s+VQ6c71SrBbISQU5sRePN7vZhUw/fagHYwD 5/cneYVl1+URMMgt4St9uizt+cDVgF6XPUAeuAuqzZ1+U6fWAzOF3Mgsrb8l0faFbn9I 7wp5W/u4w+XllfOaxOV/TUKAKY0HQvmF4uQqdK7OsOx73gUh7J3RLwooIBdU9vSCKqFv bWtA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id n27-v6si74651ote.2.2018.06.12.06.48.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 06:48:00 -0700 (PDT) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; Authentication-Results: mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6D9BB308123E; Tue, 12 Jun 2018 13:47:59 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 21A9E10694D4; Tue, 12 Jun 2018 13:47:59 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id A20BD1800531; Tue, 12 Jun 2018 13:47:58 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w5CDlvdp015450 for ; Tue, 12 Jun 2018 09:47:58 -0400 Received: by smtp.corp.redhat.com (Postfix) id B6C1716871; Tue, 12 Jun 2018 13:47:57 +0000 (UTC) Delivered-To: libvirt-list@redhat.com Received: from worklaptop.bos.redhat.com (dhcp-17-157.bos.redhat.com [10.18.17.157]) by smtp.corp.redhat.com (Postfix) with ESMTP id 90A8F7C59; Tue, 12 Jun 2018 13:47:55 +0000 (UTC) From: Cole Robinson To: libvirt-list@redhat.com Date: Tue, 12 Jun 2018 09:47:43 -0400 Message-Id: X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] libvirtd: Add service dependency on systemd-logind X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Tue, 12 Jun 2018 13:48:00 +0000 (UTC) At daemon startup we query logind for host PM support status. Without a service dependency host startup can trigger libvirtd errors like: error : virNodeSuspendSupportsTarget:336 : internal error: Cannot probe for supported suspend types warning : virQEMUCapsInit:949 : Failed to get host power management capabilities Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1588288 Signed-off-by: Cole Robinson --- src/remote/libvirtd.service.in | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list Reviewed-by: Andrea Bolognani diff --git a/src/remote/libvirtd.service.in b/src/remote/libvirtd.service.in index 769702ea75..7f689e08a8 100644 --- a/src/remote/libvirtd.service.in +++ b/src/remote/libvirtd.service.in @@ -15,6 +15,7 @@ After=iscsid.service After=apparmor.service After=local-fs.target After=remote-fs.target +After=systemd-logind.service After=systemd-machined.service Documentation=man:libvirtd(8) Documentation=https://libvirt.org