Bug 1663670
| Summary: | geoiplookup is no longer supported - use mmdblookup instead | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ken Fallon <ken> | |
| Component: | GeoIP | Assignee: | Paul Howarth <paul> | |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 29 | CC: | anon.amish, paul, pb, philipp, tests | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1664957 1692283 (view as bug list) | Environment: | ||
| Last Closed: | 2019-10-31 14:55:49 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1664957 | |||
|
Description
Ken Fallon
2019-01-06 10:04:47 UTC
geoiplookup is explicitly a tool for looking values from the outdated legacy databases, which although no longer distributed by MaxMind, are still available in Fedora and should be pulled in as a dependency of the GeoIP package. So I'm wondering how you've managed to end up with GeoIP installed and not having at least GeoLiteCountry.dat in /usr/share/GeoIP? The legacy GeoIP stack will need to remain in Fedora, albeit becoming increasingly less useful, until all projects that use it have moved over to the new API. To use the latest databases, use the mmdblookup tool, which is currently in the libmaxminddb-devel package. I would argue that that is a bug and it should be packaged in the main libmaxminddb package, or in a new package by itself, perhaps libmaxminddb-utils or mmdblookup. You should raise a bug on libmaxminddb if you want to request that though. This also affects EL6 and EL7, for none of the 3 GeoIP version 2 is available via upstream or EPEL, making now GeoIP no longer usable. geoipupdate of FC29 already downloads now *.mmdb, but GeoIP libraries are not enhanced to use them. geoipupdate -v geoipupdate 3.1.1 Opened License file /etc/GeoIP.conf Insert edition_id GeoLite2-Country Insert edition_id GeoLite2-City Read in license key /etc/GeoIP.conf Number of edition IDs 2 url: https://updates.maxmind.com/app/update_getfilename?product_id=GeoLite2-Country md5hex_digest: 972af621796fe0720aa54870c10609f7 url: https://updates.maxmind.com/geoip/databases/GeoLite2-Country/update?db_md5=972af621796fe0720aa54870c10609f7 No new updates available url: https://updates.maxmind.com/app/update_getfilename?product_id=GeoLite2-City md5hex_digest: b65924fefd570a5871e2d88509f55712 url: https://updates.maxmind.com/geoip/databases/GeoLite2-City/update?db_md5=b65924fefd570a5871e2d88509f55712 No new updates available ll /usr/share/GeoIP/*.mmdb -rw-r--r--. 1 root root 61332406 10. Jan 07:18 /usr/share/GeoIP/GeoLite2-City.mmdb -rw-r--r--. 1 root root 3525478 10. Jan 07:18 /usr/share/GeoIP/GeoLite2-Country.mmdb strings /usr/lib64/libGeoIP.so.1.6.12 |grep mmdb (empty) (In reply to Paul Howarth from comment #1) > To use the latest databases, use the mmdblookup tool, which is currently in > the libmaxminddb-devel package. I would argue that that is a bug and it > should be packaged in the main libmaxminddb package, or in a new package by > itself, perhaps libmaxminddb-utils or mmdblookup. You should raise a bug on > libmaxminddb if you want to request that though. agree this is a bug, I am not able to clone this bug and make it against libmaxminddb someone wit more priviledges please, help to do so (for Fedora and EPEL). opensuse has created a specific package mmdblookup, libmaxminddb-utils would be good too, but cli tools have nothing to do in devel package IMO. I've cloned this as a bug on libmaxminddb (Bug #1692283) with a view to moving mmdblookup out of the -devel package. As for this GeoIP bug, I'm thinking to close it as the tool still works with the GeoIP-GeoLite-data package in Fedora (albeit increasingly out of date). Anyone think otherwise? OK I'm closing this now. Anyone wanting to do lookups against current databases should see Bug #1692283. |