public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Elijah Mark Anderson <mark@kd0bpv.name>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Change keyserver used by portage?
Date: Tue, 03 Jul 2018 18:09:32 -0500	[thread overview]
Message-ID: <1537913.bHoCB0JOOm@ares-linux> (raw)
In-Reply-To: <CAC=wYCF8ZLF6L_djxn3RvQbcfQEqjD_1W5uKoR_oTGx78_FKEQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3087 bytes --]

On Monday, July 2, 2018 12:40:29 AM CDT Adam Carter wrote:
> > > > Anyone one know how I can change the keyserver address used by
> > 
> > portage? I
> > 
> > > > keep getting "no route to host" for hkps.pool.sks-keyservers.net when
> > 
> > I
> > 
> > > > sync.
> > > 
> > > What are you trying to do? Find the command being run and run it
> > > manually while specifying --keyserver. Also file a bug report.
> > > 
> > > I posted my last reply after pgp.mit.edu also failed. The URL you give
> > > is obviously a key server pool, but it looks like MIT's may be also
> > > (without inspecting it). I retried on MIT's URL until the request went
> > > through. If you can't change the URL then keep trying.
> > > 
> > > The issue is, I think, that the pool will give you servers that don't
> > > support HKP, but I have had this issue when contacting keyservers
> > > directly.
> > > 
> > > Cheers,
> > > 
> > >      R0b0t1
> > 
> > Currently, portage is using that pool url when I run emaint's sync module.
> > I
> > keep getting the "no route to host" error from it, and no indication what
> > server it's actually being directed to.
> > 
> > What I want to do is reconfigure portage to use a particular server that I
> > know
> > is reliable.
> 
> Looks like its using multiple A records;
> 
> $ host hkps.pool.sks-keyservers.net
> hkps.pool.sks-keyservers.net has address 18.9.60.141
> hkps.pool.sks-keyservers.net has address 18.191.65.131
> hkps.pool.sks-keyservers.net has address 37.191.226.104
> hkps.pool.sks-keyservers.net has address 92.43.111.21
> hkps.pool.sks-keyservers.net has address 193.164.133.100
> hkps.pool.sks-keyservers.net has address 216.66.15.2
> hkps.pool.sks-keyservers.net has IPv6 address 2001:470:1:116::6
> hkps.pool.sks-keyservers.net has IPv6 address 2600:1f16:41e:bd0a::73:6b73
> hkps.pool.sks-keyservers.net has IPv6 address
> 2a01:4a0:59:1000:223:9eff:fe00:100f
> hkps.pool.sks-keyservers.net has IPv6 address 2a02:c205:3001:3626::1
> 
> For an ugly hack you could test these to find one that works, then add that
> one to your /etc/hosts file.
> 
> Perhaps there's a hostmaster@hkps.pool.sks-keyservers.net you could notify
> to fix it?

Yes. That is how the pool URL works. It does some sort of load-balancing via 
DNS resolution. That's why it has so many addresses. 

I am well aware of the /etc/hosts hack, but it's an ugly work-around. I'd 
rather be able to configure portage itself to use a different pool or a specific 
server, rather than mess around with DNS resolutions. And I haven't been 
having any luck in searching for how to configure the keyserver used by 
Portage.

Yes, there is an email address I could message to notify them that there is a 
problematic server, but because Portage tells me nothing about which server 
it's using other than the pool URL, I have nothing helpful to tell them.

-- 
Elijah Mark Anderson
mark@kd0bpv.name
--
「塵も積もれば山となる。」
"Even dust, when piled up, becomes a mountain" - Ancient Japanese proverb

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2018-07-03 23:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-30 15:26 [gentoo-user] Change keyserver used by portage? Elijah Mark Anderson
2018-07-02  1:35 ` R0b0t1
2018-07-02  1:55 ` R0b0t1
2018-07-02  3:21   ` Elijah Mark Anderson
2018-07-02  5:40     ` Adam Carter
2018-07-03 23:09       ` Elijah Mark Anderson [this message]
2018-07-04  5:05         ` Adam Carter
2018-07-04  5:09           ` Adam Carter
2018-07-04 10:44             ` Bill Kenworthy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1537913.bHoCB0JOOm@ares-linux \
    --to=mark@kd0bpv.name \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox