Bug 147961

Summary: RPM tries to contact pgp.mit.edu
Product: [Fedora] Fedora Reporter: Dan Williams <dcbw>
Component: redhat-rpm-configAssignee: Elliot Lee <sopwith>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jorton, petersen, pnasrat
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-22 03:35:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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.