Bug 1768258 - GeoIP2 feature is looking in wrong path
Summary: GeoIP2 feature is looking in wrong path
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bind
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Menšík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-03 18:14 UTC by Michael Cronenworth
Modified: 2019-12-13 01:04 UTC (History)
8 users (show)

Fixed In Version: bind-9.11.13-2.fc31 bind-9.11.13-2.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-29 00:54:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael Cronenworth 2019-11-03 18:14:41 UTC
Description of problem:

There's a problem with the new GeoIP v2 feature. Upstream is looking in the wrong directory.

named log:
Nov 02 10:50:52 foobar named[56442]: looking for GeoIP2 databases in '/usr/share/GeoIP2'

The geolite2 databases are in /usr/share/GeoIP/.


Version-Release number of selected component (if applicable):
bind-9.11.11-1.fc31.x86_64

Comment 1 Petr Menšík 2019-11-04 10:15:23 UTC
Thank you for the report.

It has wrong default in bin/named/config.c, line 75. We did some directory customizations in default config file. But I think in this case, I would patch default inside binary.

Anyway, it has easy workaround, just specify correct geoip-directory in options:

options {
  # ...
  geoip-directory "/usr/share/GeoIP";
  # ...
};

Comment 2 Petr Menšík 2019-11-04 20:07:52 UTC
Reported upstream: https://gitlab.isc.org/isc-projects/bind9/issues/1301

Comment 3 Michael Cronenworth 2019-11-04 20:11:27 UTC
Thanks for your diligence, Petr.

Comment 4 Petr Menšík 2019-11-07 15:56:56 UTC
Merged upstream [1], and fix is built in rawhide. Added explicit geoip-directory into config file.

https://gitlab.isc.org/isc-projects/bind9/merge_requests/2527/commits

Comment 5 Fedora Update System 2019-11-27 12:07:09 UTC
FEDORA-2019-c703d2304a has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-c703d2304a

Comment 6 Fedora Update System 2019-11-27 12:12:49 UTC
FEDORA-2019-73a8737068 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-73a8737068

Comment 7 Ben Cotton 2019-11-27 14:17:47 UTC
Fedora 29 changed to end-of-life (EOL) status on 2019-11-26. Fedora 29 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 8 Ben Cotton 2019-11-27 15:05:46 UTC
This bug was accidentally closed due to a query error. Reopening.

Comment 9 Fedora Update System 2019-11-28 01:44:24 UTC
bind-9.11.13-2.fc31, bind-dyndb-ldap-11.2-2.fc31, dnsperf-2.3.2-2.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-73a8737068

Comment 10 Fedora Update System 2019-11-28 02:21:35 UTC
bind-9.11.13-2.fc30, bind-dyndb-ldap-11.1-20.fc30, dhcp-4.3.6-38.fc30, dnsperf-2.3.2-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-c703d2304a

Comment 11 Fedora Update System 2019-11-29 00:54:09 UTC
bind-9.11.13-2.fc31, bind-dyndb-ldap-11.2-2.fc31, dnsperf-2.3.2-2.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2019-12-13 01:04:08 UTC
bind-9.11.13-2.fc30, bind-dyndb-ldap-11.1-20.fc30, dhcp-4.3.6-38.fc30, dnsperf-2.3.2-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.


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