Comment 4 for bug 1866875

Revision history for this message
jean-christophe manciot (manciot-jeanchristophe) wrote : Re: option 'geoip-directory' was not enabled at compile time

I don't know what you mean by "MIR"; the following libmaxminddb0 was already installed before I upgraded bind9 to **1:9.16.0-1ubuntu3**:

# apt-cache policy libmaxminddb0
libmaxminddb0:
  Installed: 1.3.2-1
  Candidate: 1.3.2-1
  Version table:
 *** 1.3.2-1 500
        500 http://fr.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status

I had no such issue with previous bind9 versions in /etc/bind/named.conf.options:
options {
...
        geoip-directory "/usr/share/some/geoip/folder";
...
};

Upgrading to bind9 **1:9.16.0-1ubuntu4** does NOT solve this issue:
bind9:
  Installed: 1:9.16.0-1ubuntu4
# systemctl restart bind9
# systemctl status bind9
● named.service - BIND Domain Name Server
     Loaded: loaded (/lib/systemd/system/named.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Wed 2020-03-11 19:44:18 CET; 5s ago
       Docs: man:named(8)
    Process: 57887 ExecStart=/usr/sbin/named -f $OPTIONS (code=exited, status=1/FAILURE)
   Main PID: 57887 (code=exited, status=1/FAILURE)

Mar 11 19:44:18 samsung6-ubuntu named[57887]: adjusted limit on open files from 524288 to 1048576
Mar 11 19:44:18 samsung6-ubuntu named[57887]: found 8 CPUs, using 8 worker threads
Mar 11 19:44:18 samsung6-ubuntu named[57887]: using 8 UDP listeners per interface
Mar 11 19:44:18 samsung6-ubuntu named[57887]: using up to 21000 sockets
Mar 11 19:44:18 samsung6-ubuntu named[57887]: loading configuration from '/etc/bind/named.conf'
Mar 11 19:44:18 samsung6-ubuntu named[57887]: /etc/bind/named.conf.options:48: option 'geoip-directory' was not enabled at compile time
Mar 11 19:44:18 samsung6-ubuntu named[57887]: loading configuration: failure
Mar 11 19:44:18 samsung6-ubuntu named[57887]: exiting (due to fatal error)
Mar 11 19:44:18 samsung6-ubuntu systemd[1]: named.service: Main process exited, code=exited, status=1/FAILURE
Mar 11 19:44:18 samsung6-ubuntu systemd[1]: named.service: Failed with result 'exit-code'.