X-Spam-Check-By: sourceware.org
Message-ID: <453E9764.6080607@scytek.de>
Date: Tue, 24 Oct 2006 18:44:52 -0400
From: Volker Quetschke <quetschke@scytek.de>
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: GnuPG bug: --refresh-keys
References: <44D21D4C.7050200@ukf.net> <44D29487.6000806@ukf.net> <44D2CDF7.1090900@scytek.de>
In-Reply-To: <44D2CDF7.1090900@scytek.de>
Content-Type: multipart/signed; micalg=pgp-sha1;  protocol="application/pgp-signature";  boundary="------------enig185E816734FFFA23CD0E7CD1"
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

--------------enig185E816734FFFA23CD0E7CD1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Volker Quetschke wrote:
> Max Bowsher wrote:
>> Max Bowsher wrote:
>>> When running 'gpg --refresh-keys', the second updated key results in:
>>>
>>> gpg: renaming `/home/max/.gnupg/pubring.gpg' to
>>> `/home/max/.gnupg/pubring.gpg~' failed: Permission denied
>>> gpg: error writing keyring `/home/max/.gnupg/pubring.gpg': file rename =
error
>>> gpg: key XXXXXXXX: "...." 28 new signatures
>>> gpg: error reading `[stream]': file rename error
(snip)
>> GPG for some reason tries to cache opened fds for re-use. I suggest
>> disabling this caching for Cygwin. The appropriate code to tweak is in
>> util/iobuf.c:fd_cache_close(). I changed the condition of the first if
>> statement there to always be true, and the problem I reported goes away.
>>
>> Please integrate this into the Cygwin packages.
>=20
> Thanks for tracking this down Max. It's also time for a new package
> with the newer upstream version.

It took a while ;) Max, can you test if the new version works for you?

Use

http://www.scytek.de/cygwin/release/gnupg/setup.hint
http://www.scytek.de/cygwin/release/gnupg/gnupg-1.4.5-1.tar.bz2
http://www.scytek.de/cygwin/release/gnupg/gnupg-1.4.5-1-src.tar.bz2

or point your setup to http://www.scytek.de/cygwin .

If it works for you I'll ask for upload.

  Volker

--=20
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D


--------------enig185E816734FFFA23CD0E7CD1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MinGW)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFPpdrPTXJup+KeF0RArGrAKDNFbrJCxSDWBF910FA0Iaf1KPceACgn4Te
AkVaVCkDTWtoaY9QFbXHMRc=
=toLy
-----END PGP SIGNATURE-----

--------------enig185E816734FFFA23CD0E7CD1--
