Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554940 - sys-process/lsof - Change SRC_URI to allow downloads with not working reverse DNS lookups
Summary: sys-process/lsof - Change SRC_URI to allow downloads with not working reverse...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-15 09:08 UTC by Thomas Deutschmann (RETIRED)
Modified: 2015-07-16 03:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2015-07-15 09:08:46 UTC
Hi,

sys-process/lsof-4.89 was added to tree for about 24h.

It is still not available on Gentoo mirrors (they probably have the same problem). For me it is unable to download the SRC files from the original mirror because they require are working reverse DNS lookup:

>>> Emerging (1 of 1) sys-process/lsof-4.89::gentoo
>>> Downloading 'http://ftp.uni-erlangen.de/pub/mirrors/gentoo/distfiles/lsof_4.89.tar.bz2'
--2015-07-15 10:55:18--  http://ftp.uni-erlangen.de/pub/mirrors/gentoo/distfiles/lsof_4.89.tar.bz2
Resolving ftp.uni-erlangen.de (ftp.uni-erlangen.de)... 2001:638:a000:1021:21::1, 131.188.12.211
Connecting to ftp.uni-erlangen.de (ftp.uni-erlangen.de)|2001:638:a000:1021:21::1|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-07-15 10:55:19 ERROR 404: Not Found.

>>> Downloading 'ftp://mirror.netcologne.de/gentoo/distfiles/lsof_4.89.tar.bz2'
pathconf: Permission denied
--2015-07-15 10:55:19--  ftp://mirror.netcologne.de/gentoo/distfiles/lsof_4.89.tar.bz2
           => ‘/usr/portage/distfiles/lsof_4.89.tar.bz2’
Resolving mirror.netcologne.de (mirror.netcologne.de)... 2001:4dd0:1234:1::deb, 194.8.197.22
Connecting to mirror.netcologne.de (mirror.netcologne.de)|2001:4dd0:1234:1::deb|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /gentoo/distfiles ... done.
==> SIZE lsof_4.89.tar.bz2 ... done.

==> EPSV ... done.    ==> RETR lsof_4.89.tar.bz2 ...
No such file ‘lsof_4.89.tar.bz2’.

>>> Downloading 'ftp://ftp.halifax.rwth-aachen.de/gentoo/distfiles/lsof_4.89.tar.bz2'
pathconf: Permission denied
--2015-07-15 10:55:20--  ftp://ftp.halifax.rwth-aachen.de/gentoo/distfiles/lsof_4.89.tar.bz2
           => ‘/usr/portage/distfiles/lsof_4.89.tar.bz2’
Resolving ftp.halifax.rwth-aachen.de (ftp.halifax.rwth-aachen.de)... 137.226.34.42
Connecting to ftp.halifax.rwth-aachen.de (ftp.halifax.rwth-aachen.de)|137.226.34.42|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /gentoo/distfiles ... done.
==> SIZE lsof_4.89.tar.bz2 ... done.

==> PASV ... done.    ==> RETR lsof_4.89.tar.bz2 ...
No such file ‘lsof_4.89.tar.bz2’.

>>> Downloading 'http://ftp.uni-kl.de/pub/linux/gentoo/distfiles/lsof_4.89.tar.bz2'
--2015-07-15 10:55:21--  http://ftp.uni-kl.de/pub/linux/gentoo/distfiles/lsof_4.89.tar.bz2
Resolving ftp.uni-kl.de (ftp.uni-kl.de)... 2001:638:208:ef1b:0:ff:fe00:4, 131.246.123.4
Connecting to ftp.uni-kl.de (ftp.uni-kl.de)|2001:638:208:ef1b:0:ff:fe00:4|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-07-15 10:55:21 ERROR 404: Not Found.

>>> Downloading 'http://distfiles.gentoo.org/distfiles/lsof_4.89.tar.bz2'
--2015-07-15 10:55:21--  http://distfiles.gentoo.org/distfiles/lsof_4.89.tar.bz2
Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 64.50.236.52, 137.226.34.42, 156.56.247.195, ...
Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|64.50.236.52|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-07-15 10:55:22 ERROR 404: Not Found.

>>> Downloading 'ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/lsof_4.89.tar.bz2'
pathconf: Permission denied
--2015-07-15 10:55:22--  ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/lsof_4.89.tar.bz2
           => ‘/usr/portage/distfiles/lsof_4.89.tar.bz2’
Resolving lsof.itap.purdue.edu (lsof.itap.purdue.edu)... 128.210.7.20
Connecting to lsof.itap.purdue.edu (lsof.itap.purdue.edu)|128.210.7.20|:21... connected.
Logging in as anonymous ...
Error in server greeting.
Retrying.

--2015-07-15 10:55:26--  ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/lsof_4.89.tar.bz2
  (try: 2) => ‘/usr/portage/distfiles/lsof_4.89.tar.bz2’
Connecting to lsof.itap.purdue.edu (lsof.itap.purdue.edu)|128.210.7.20|:21... connected.
Logging in as anonymous ...
Error in server greeting.
Retrying.

--2015-07-15 10:55:31--  ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/lsof_4.89.tar.bz2
  (try: 3) => ‘/usr/portage/distfiles/lsof_4.89.tar.bz2’
Connecting to lsof.itap.purdue.edu (lsof.itap.purdue.edu)|128.210.7.20|:21... connected.
Logging in as anonymous ...
Error in server greeting.
Giving up.

>>> Downloading 'ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_4.89.tar.bz2'
pathconf: Permission denied
--2015-07-15 10:55:35--  ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_4.89.tar.bz2
           => ‘/usr/portage/distfiles/lsof_4.89.tar.bz2’
Resolving lsof.itap.purdue.edu (lsof.itap.purdue.edu)... 128.210.7.20
Connecting to lsof.itap.purdue.edu (lsof.itap.purdue.edu)|128.210.7.20|:21... connected.
Logging in as anonymous ...
Error in server greeting.
Retrying.

--2015-07-15 10:55:40--  ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_4.89.tar.bz2
  (try: 2) => ‘/usr/portage/distfiles/lsof_4.89.tar.bz2’
Connecting to lsof.itap.purdue.edu (lsof.itap.purdue.edu)|128.210.7.20|:21... connected.
Logging in as anonymous ...
Error in server greeting.
Retrying.

--2015-07-15 10:55:45--  ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_4.89.tar.bz2
  (try: 3) => ‘/usr/portage/distfiles/lsof_4.89.tar.bz2’
Connecting to lsof.itap.purdue.edu (lsof.itap.purdue.edu)|128.210.7.20|:21... connected.
Logging in as anonymous ...
Error in server greeting.
Giving up.

!!! Couldn't download 'lsof_4.89.tar.bz2'. Aborting.


Connecting via FTP shows me

[10:56:49] [R] Connecting to lsof.itap.purdue.edu -> DNS=lsof.itap.purdue.edu IP=128.210.7.20 PORT=21
[10:56:50] [R] Connected to lsof.itap.purdue.edu
[10:56:53] [R] 530-The name server used by lsof.itap.purdue.edu cannot convert your network
[10:56:53] [R] 530-address to a host name.  Therefore, lsof.itap.purdue.edu will not
[10:56:53] [R] 530-accept the connection.  Consult with your DNS DNS provider to
[10:56:53] [R] 530-determine why reverse DNS lookups do not work correctly for your
[10:56:53] [R] 530-network address.
[10:56:53] [R] 530-
[10:56:53] [R] 530-Even without having proper DNS reverse lookup, you may be able to get
[10:56:53] [R] 530-lsof from one of these mirror sites:
[10:56:53] [R] 530-
[10:56:53] [R] 530- ftp://ftp.fu-berlin.de/pub/unix/tools/lsof
[10:56:53] [R] 530- ftp://sunsite.ualberta.ca/pub/Mirror/lsof
[10:56:53] [R] 530- http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/
[10:56:53] [R] 530- ftp://ftp.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/
[10:56:53] [R] 530- rsync://rsync.mirrorservice.org/lsof.itap.purdue.edu/pub/tools/unix/lsof/
[10:56:53] [R] 530-
[10:56:53] [R] 530-
[10:56:53] [R] 530 
[10:56:53] [R] Connection failed


Yes, my ISP should probably have configured a working reverse DNS lookups. But as you can see, it hasn't (Deutsche Telekom LTE/DSL hybrid access). So if upstream is offering alternative URI we should use them, at least add one as last mirror.

Reproducible: Always
Comment 1 Manuel Rüger (RETIRED) gentoo-dev 2015-07-15 12:11:02 UTC
As a quick fix I copied the tarball to distfiles-local on woodpecker.
Comment 2 SpanKY gentoo-dev 2015-07-16 03:42:38 UTC
i doubt the mirror update delays are related.  this ebuild was just added to the tree when you filed the bug and it takes time for the mirrors to sync.

i've added an explicit http://www.mirrorservice.org as pure ftp:// URLs can be problematic in general (pasv/etc...).

http://sources.gentoo.org/sys-process/lsof/lsof-4.89.ebuild?r1=1.1&r2=1.2