Bug 147961 - RPM tries to contact pgp.mit.edu
Summary: RPM tries to contact pgp.mit.edu
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-rpm-config
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Elliot Lee
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-14 03:27 UTC by Dan Williams
Modified: 2007-11-30 22:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-03-22 03:35:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dan Williams 2005-02-14 03:27:24 UTC
See http://devel.linux.duke.edu/bugzilla/show_bug.cgi?id=404

If pgp.mit.edu isn't around or able to be contacted, the RPM transaction hangs
for a long while attempting to connect() this server.

Comment 1 Jeff Johnson 2005-02-14 16:21:56 UTC
Yep. Do one of the following

0) rpm --import the pubkey

1) configure a different key server in /etc/rpm/macros:
    %_hkp_keyserver  hkp://sks.keyserver.penguin.de

2) disable lookup in /etc/rpm/macros:
    %_hkp_keyserver  %{nil}

Comment 2 Jens Petersen 2005-02-25 15:06:42 UTC
Shouldn't it at least print some warning when it
attempts to access a keyserver, so that users at least
understand why say "rpm -qa" takes forever when no
keys are installed... :)

Comment 3 Jens Petersen 2005-02-25 15:10:56 UTC
Or change the default to (2)?


Comment 4 Joe Orton 2005-02-25 15:17:46 UTC
I second that.  The potential for network issues to screw with RPM
behaviour *by default* breaks the principle of least surprise in a big
way.

Comment 5 Jeff Johnson 2005-03-03 18:41:49 UTC
printing warnings on timeouts creates more problems than it solves.

I've chosen the default as I think appropriate for rpm. Certainly
the default can be changed to taste on a per-distro or per-user
basis, all as descibed above. Alas, only one default can be chosen.

Any change to rpm causes surprise to someone, that is simply no way to
please everyone, nor to choose a default that works for everyone.

So make yer own configuartion choices to your taste as described
above in 1) or 2) or 3).

Comment 6 Jens Petersen 2005-03-04 02:58:20 UTC
So let's change the default to (2) for Fedora...

Re-assigning to redhat-rpm-config.

Comment 7 Elliot Lee 2005-03-22 03:35:18 UTC
Committed to redhat-rpm-config CVS - this will eventually make its way into rawhide.


Note You need to log in before you can comment on or make changes to this bug.