From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6880878174534631424 X-Received: by 2002:a17:906:478a:: with SMTP id cw10mr5650920ejc.533.1611140703453; Wed, 20 Jan 2021 03:05:03 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:906:33d1:: with SMTP id w17ls2632486eja.3.gmail; Wed, 20 Jan 2021 03:05:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJyBacbu5IjdqnFL4si7l7aJG4R2VK2vvspHI8PHwWXqWP1SJG57me75fvxBLb8fKedj0aGY X-Received: by 2002:a17:906:2f83:: with SMTP id w3mr6113154eji.292.1611140702522; Wed, 20 Jan 2021 03:05:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611140702; cv=none; d=google.com; s=arc-20160816; b=USQNDyhZK8et+CEkjZ/OvmAV9YBwHJYcDsLrYINgVFupp8XDuDBY3YOsZq0HVZ8YJ3 7GkQald2o6zmw2zKn5dRcMQyILh5rKqV0xBKxuEX9WbS8jwoel5LMEnCXVgQyz/PStnX QQ16l5vlFDWkRYaxvBCVLsh5Wlk0J8ghh1biP/awYkojPm5LVNLUIT1tqZHvtf5b+UMC mJk/Qmp6zdHOWssHB5oJxGeWJGLP8V7pV8E0T2xlXhQqMXkdmqR3F4Q8wuQo0NQF4WEL voExX7ALsuwV8Ein5AZX7U9QtY9iyow4zBioPNYVQdSpMakfdL92mQzKDPs4W02eUDfV BqsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date; bh=J52qp2YqXQ30/ScOjUYGq6+R4zjRlEHrWs/OD4MpsQQ=; b=XsZu/5QVlnNR5Qm82r1AY4ohCjnvjmcJfchzVN1TSszv3X77DhHjZch6TZZYVnQGpo 2nP40TcNHxCvBjVHm6PCfaf0zCicnfAUeJVs6dYMEOfwq4aWLO5An7BAR1rySWXLKH0T 4QfPAjNytYPJyy4rscqk/CRh0mR7XRAYeoCQ3aeJJluj8s1GKmz5uxh0KvFxvrYMfuuV FRVc/UwqM81JrFRkyU+UBl/v6od4DrR1Cy5LpVIAtOmm/RTRINVUgK2ViuJoX+iCsJts nWjhgTX7AnlgsnisHIAB9u9XrFFYpg44lbZXDuiQ/PcIwwk9PZvk1HTeMvIBs8/PGqSH iXNQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id m5si93516edr.1.2021.01.20.03.05.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Jan 2021 03:05:02 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id 10KB52Co015596 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 20 Jan 2021 12:05:02 +0100 Received: from md1za8fc.ad001.siemens.net ([139.22.120.228]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 10KB4wkD007741; Wed, 20 Jan 2021 12:04:58 +0100 Date: Wed, 20 Jan 2021 12:04:57 +0100 From: Henning Schild To: "[ext] Jan Kiszka" Cc: Anton Mikanovich , isar-users@googlegroups.com, Yuri Adamov Subject: Re: [PATCH v2] isar-bootstrap: Run gpg-agent before starting apt-key Message-ID: <20210120120457.5fb65262@md1za8fc.ad001.siemens.net> In-Reply-To: <03dd4a4a-0d31-ebbe-30da-516445e12c6e@siemens.com> References: <20210119112001.11651-1-amikan@ilbers.de> <978d7c98-5698-273f-cd27-525529d4b3ea@siemens.com> <7afeb621-53eb-ddfe-b94a-15935127528a@ilbers.de> <03dd4a4a-0d31-ebbe-30da-516445e12c6e@siemens.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: v9HSK+ExVJtz Am Wed, 20 Jan 2021 10:58:55 +0100 schrieb "[ext] Jan Kiszka" : > On 19.01.21 15:24, Anton Mikanovich wrote: > > 19.01.2021 15:54, Jan Kiszka wrote: > >> On 19.01.21 12:20, Anton Mikanovich wrote: > >>> From: Yuri Adamov > >>> > >>> Building rpi-stretch natively (under qemu) sometimes fails with: > >>> > >>> gpg: can't connect to the agent: IPC connect call failed > >>> > >>> gpg starts gpg-agent and times out after 5 s. This value is > >>> hard-coded. > >>> > >>> Besides, leaving running gpg-agent processes is not clean and > >>> prevents unmounting of filesystems. > >>> > >>> This patch starts and stops the agent manually. > >>> > >>> gnupg now appended to package list unconditionally because > >>> gpg-agent is used in every isar_bootstrap run. > >> Looks good - except that I do not get why makingthis > >> unconditionally. That looks still like a lazy approach to me. Or > >> do I miss some technical need for that (which is not documented > >> here)? > >> > >> Jan > > > > It's used unconditionally inside isar_bootstrap(), so appended it > > also unconditionally. > > > > Yes, this is the laziness I'm talking about: I don't see WHY we need > to use it unconditionally now. It seems like a functional change. We did use the native agent before and now never use it. But i guess the native agent is potentially still used i.e. when building packages. Not sure i like the idea of special casing this one potential gpg user. Henning > Jan >