From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6628188968987918336 X-Received: by 2002:a17:902:b68a:: with SMTP id c10mr8942655pls.134.1543281405958; Mon, 26 Nov 2018 17:16:45 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:902:bd43:: with SMTP id b3ls10735826plx.5.gmail; Mon, 26 Nov 2018 17:16:45 -0800 (PST) X-Google-Smtp-Source: AFSGD/UFemd3wpBLqYiZf7n/tNZRyhMah7qM8I6rury3pgezkKq/+x8fLzPAV+b8+ww3Nq+g3W9Z X-Received: by 2002:a17:902:f20b:: with SMTP id gn11mr3702800plb.18.1543281405716; Mon, 26 Nov 2018 17:16:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543281405; cv=none; d=google.com; s=arc-20160816; b=zlv71bUJGhtJqswjj1WnisMGb8y2FmDjxOUcB03kMC5gFkTim0TUroBUdN9k8YDz0u JqDOhvJEVJyLbq8SkVweX29YsUY+c3bpIMHq09rorR1FtcSqLQoXvqKWxx6TRy6x00mR kE4cyvhWAkE5mzmaeCc6ocKG9ZJqhXEbi+wEdfFuHDvszFuFcCLgtUBrVA3khQYIvHGR SFNnV6K6O3DX8U+81NDGIsH8DU5/xvQHbvWPMmsYgHDaCdEkeAxqCjXyT8mx0amImyPo kp4s61LpX63A+UJtkluuWHj3LVA++OskU8aIKfw8urUAM+tXxvFnln5z3gh2aY5AZtg+ pw0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date; bh=QuVGUINJzsRTSflFbaxlp7HA1epdUiW0yG6HjyqMUb4=; b=ijyl8c2zkmnQ/ISJpPdwyrbA3IFhsXBahBKok2KwYv9dzBvUs4RFKQVm7PM81zFAz2 Mrt4tyzJG4oyKQHPmDLr4E8GyVhF/RUPang1H30S1QbJ3mpoBJJM6cSH4uSJWB7X6Jye FW6VaO5plN6gPhJcpDW5BnFIZr1uEbrbDBikDMKmgTobr/BJYkY32TnXZKLmI38VmdzC uVeSctfyo68hqzeZSm6K1VUrbZu6Hst67zwmf1JhhClwfq8HHVx3r22GtbzJrdW+YBgm aDiSd6kGO/iQVvgwN9sgOHTlbvPHymAqcgB6FtxkMYXB+EvdjMxIloCMGySivYv1DG+t LsoA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amy_fong@mentor.com designates 192.94.38.131 as permitted sender) smtp.mailfrom=Amy_Fong@mentor.com Return-Path: Received: from relay1.mentorg.com (relay1.mentorg.com. [192.94.38.131]) by gmr-mx.google.com with ESMTPS id 23si113403pgc.4.2018.11.26.17.16.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Nov 2018 17:16:45 -0800 (PST) Received-SPF: pass (google.com: domain of amy_fong@mentor.com designates 192.94.38.131 as permitted sender) client-ip=192.94.38.131; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amy_fong@mentor.com designates 192.94.38.131 as permitted sender) smtp.mailfrom=Amy_Fong@mentor.com Received: from svr-orw-mbx-04.mgc.mentorg.com ([147.34.90.204]) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1gRRzZ-0002qO-Aq from Amy_Fong@mentor.com ; Mon, 26 Nov 2018 17:16:45 -0800 Received: from cat (147.34.91.1) by SVR-ORW-MBX-04.mgc.mentorg.com (147.34.90.204) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Mon, 26 Nov 2018 17:16:42 -0800 Date: Mon, 26 Nov 2018 20:16:40 -0500 From: Amy Fong To: Jan Kiszka CC: Subject: Re: [PATCH] gnupg fails on nonexistent /dev/tty Message-ID: <20181127011640.sdicyzbmcfhaovcs@cat> References: <20181126151812.25677-1-Amy_Fong@mentor.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-ClientProxiedBy: svr-orw-mbx-08.mgc.mentorg.com (147.34.90.208) To SVR-ORW-MBX-04.mgc.mentorg.com (147.34.90.204) X-TUID: idxD54XO/jNV On Mon, Nov 26, 2018 at 04:26:18PM +0100, Jan Kiszka wrote: > On 26.11.18 16:18, Amy_Fong@mentor.com wrote: > > From: Amy Fong > > > > Add --no-tty option to gnupg for noninteractive usage. > > > > Thanks! > > Could you add the information where you have seen it and where not? IIRC, it > was some version difference in the gpg package that triggered it. This can be seen on gnupg 2.1.18-8~deb9u3. On systems with 2.1.18-8~deb9u2, the problem is nonexistent but if I explicitly copy version u3 to the other system, the problem can be reproduced. Thanks. Amy > > Signed-off-by: Amy Fong > > --- > > meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc > > index e735726..e89b7c1 100644 > > --- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc > > +++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc > > @@ -150,7 +150,7 @@ do_generate_keyring() { > > if [ -n "${@d.getVar("APTKEYFILES", True) or ""}" ]; then > > for keyfile in ${@d.getVar("APTKEYFILES", True)}; do > > gpg --no-default-keyring --keyring "${APTKEYRING}" \ > > - --homedir "${DL_DIR}" --import "$keyfile" > > + --no-tty --homedir "${DL_DIR}" --import "$keyfile" > > done > > fi > > } > > > > Jan > > -- > Siemens AG, Corporate Technology, CT RDA IOT SES-DE > Corporate Competence Center Embedded Linux