From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-c1p-023463.sys.comcast.net (resqmta-c1p-023463.sys.comcast.net [IPv6:2001:558:fd00:56::4]) by sourceware.org (Postfix) with ESMTPS id 28969385AC19 for ; Mon, 8 Aug 2022 18:29:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 28969385AC19 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=acm.org Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=acm.org Received: from resomta-c1p-023265.sys.comcast.net ([96.102.18.226]) by resqmta-c1p-023463.sys.comcast.net with ESMTP id L5JHoIvH6yVHiL7VdolB02; Mon, 08 Aug 2022 18:29:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcastmailservice.net; s=20211018a; t=1659983389; bh=fuQ0Aub9r6lphwbfxPA8/74SPiIYcRpa2skkW3Pojcc=; h=Received:Received:Message-ID:Date:MIME-Version:From:Subject:To: Content-Type; b=k223HUaKAOAK0qyfwQ5UHXUjqqKLkX70bJaDQZUshGNY2URlgY3Ip5EAVzFzLRwTq xiT6+1T3CezVM/RTy3K+1OTHL6zKCXc+RigjTxDmg7eKMm05OwAsSwu5AHDyYGR9gW 9RuK2JkMTzaQW1amIcsrJo7dKomaMEPJmaQtmEV9difHs4sbamgBTdBV6tMVV+sQec 118wE8XpcVstiX1Xx1217rTlus6MoYnwAPvPbQBQ7BZIfzZVivPHZHfSe5CKZs7Xf9 8bpkyoKMb1scs73gFcvUqex+XIbSsRmR7WoQeO4oMCG9NEDdAGW66E5+IqJ7beldc/ xAxrYmAb95feg== Received: from [128.2.147.196] ([128.2.147.196]) by resomta-c1p-023265.sys.comcast.net with ESMTPSA id L7VTopNM8OScoL7VUohlvj; Mon, 08 Aug 2022 18:29:47 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgedvfedrvdefkedguddvkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihdpqfgfvfdppffquffrtefokffrnecuuegrihhlohhuthemuceftddunecunecujfgurhepkfffgggfhffuvfhfjggtgfesthejredttdefjeenucfhrhhomhepvehhrgguucffohhughhhvghrthihuceotghrugesrggtmhdrohhrgheqnecuggftrfgrthhtvghrnhepteelhfeigeeiteeuffevteekfedvudettdehkefhtdfhieffgeelvdejiedtkefhnecukfhppeduvdekrddvrddugeejrdduleeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduvdekrddvrddugeejrdduleeingdpihhnvghtpeduvdekrddvrddugeejrdduleeipdhmrghilhhfrhhomheptghrugesrggtmhdrohhrghdpnhgspghrtghpthhtohepvddprhgtphhtthhopegtohhrihhnnhgrqdgthihgfihinhestgihghifihhnrdgtohhmpdhrtghpthhtoheptgihghifihhnqdgrphhpshestgihghifihhnrdgtohhm X-Xfinity-VMeta: sc=0.00;st=legit Message-ID: <8795f150-f506-7772-5d34-b1e8957892b1@acm.org> Date: Mon, 8 Aug 2022 14:29:42 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.1.1 From: Chad Dougherty Subject: Re: resolv.conf and gnupg2 To: corinna-cygwin@cygwin.com, "cygwin-apps@cygwin.com" References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, KAM_DMARC_NONE, KAM_NUMSUBJECT, NICE_REPLY_A, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2022 18:29:52 -0000 Corinna Vinschen wrote: > > IIUC, that should be fixable by configuring gnupg with --disable-libdns. > Yes, below is the message that I sent to Marco but which was rejected by this list because I wasn't subscribed at the time that I replied to all. -- -Chad On 2022-08-07 10:34, Marco Atzeri wrote: > Any suggestion on how to solve the absence of /etc/resolv.conf ? > I doubt gnupg2 is the proper package to do so. > Looking into this, I'm reminded of how much I really dislike the design of gnupg2. dirmngr appears to have its own DNS client library that tries to do the resolv.conf parsing among other things. I believe this library gets compiled into the current cygwin package. I noticed this configuration option: --disable-libdns do not build with libdns support I just tested a build using this option and it seemed to fix the problem for me. I did not use the full end-to-end cygport process but I think the patch at the bottom of this message should do the trick. Could you give it a shot? Thanks... -- -Chad $ diff -u gnupg2.cygport.orig gnupg2.cygport --- gnupg2.cygport.orig 2022-08-08 14:00:18.562073400 -0400 +++ gnupg2.cygport 2022-08-08 14:00:53.146950000 -0400 @@ -22,6 +22,6 @@ cygautoreconf sed -i -e '/^development_version=/s/yes/no/' configure cd ${B} - cygconf --enable-gpg-is-gpg2 + cygconf --enable-gpg-is-gpg2 --disable-libdns cygmake }