[Bug 1866875] Re: option 'geoip-directory' was not enabled at compile time

2020-03-16 Thread Andreas Hasenack
I need to transform this bug into a feature freeze exception request,
therefore I will temporarily unassign myself from it and set it back to
"new" so it's seen by the ubuntu release team.

** Changed in: bind9 (Ubuntu)
   Status: In Progress => New

** Changed in: bind9 (Ubuntu)
 Assignee: Andreas Hasenack (ahasenack) => (unassigned)

** Description changed:

+ Bind 9.11.x, as shipped in eoan, had support for geoip1 (legacy code)
+ via the src:geoip package.
+ 
+ bind9 9.16.x, the new upstream stable release and what we are shipping
+ in focal, dropped support for this legacy library and requires instead
+ libmaxminddb.
+ 
+ There is an ongoing MIR at
+ https://bugs.launchpad.net/ubuntu/+source/libmaxminddb/+bug/1861101
+ which is essentially approved, as most of it's conditions at
+ https://bugs.launchpad.net/ubuntu/+source/libmaxminddb/+bug/1861101/comments/5
+ have been met, just pending FFe bugs now.
+ 
+ This bug is bringing back geoip support for bind9, but via a new
+ library, therefore I believe it needs a Feature Freeze Exception.
+ 
+ PPA with packages for testing at
+ https://launchpad.net/~ahasenack/+archive/ubuntu/bind9-geoip/
+ 
+ 
+ [Original description]
+ 
  Ubuntu 20.04
  bind9 1:9.16.0-1ubuntu3
  
  # 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 Tue 2020-03-10 18:22:42 CET; 
2min 21s ago
-Docs: man:named(8)
-Main PID: 46665 (code=exited, status=1/FAILURE)
+  Loaded: loaded (/lib/systemd/system/named.service; enabled; vendor 
preset: enabled)
+  Active: failed (Result: exit-code) since Tue 2020-03-10 18:22:42 CET; 
2min 21s ago
+    Docs: man:named(8)
+    Main PID: 46665 (code=exited, status=1/FAILURE)
  
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: adjusted limit on open files 
from 524288 to 1048576
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: found 8 CPUs, using 8 worker 
threads
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: using 8 UDP listeners per 
interface
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: using up to 21000 sockets
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: loading configuration from 
'/etc/bind/named.conf'
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: 
/etc/bind/named.conf.options:48: option 'geoip-directory' was not enabled at 
compile time
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: loading configuration: failure
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: exiting (due to fatal error)
  Mar 10 18:22:42 samsung6-ubuntu systemd[1]: named.service: Main process 
exited, code=exited, status=1/FAILURE
  Mar 10 18:22:42 samsung6-ubuntu systemd[1]: named.service: Failed with result 
'exit-code'.

** Description changed:

- Bind 9.11.x, as shipped in eoan, had support for geoip1 (legacy code)
+ Bind 9.11.x, as shipped in eoan, has support for geoip1 (legacy code)
  via the src:geoip package.
  
  bind9 9.16.x, the new upstream stable release and what we are shipping
  in focal, dropped support for this legacy library and requires instead
  libmaxminddb.
  
  There is an ongoing MIR at
  https://bugs.launchpad.net/ubuntu/+source/libmaxminddb/+bug/1861101
  which is essentially approved, as most of it's conditions at
  https://bugs.launchpad.net/ubuntu/+source/libmaxminddb/+bug/1861101/comments/5
  have been met, just pending FFe bugs now.
  
  This bug is bringing back geoip support for bind9, but via a new
  library, therefore I believe it needs a Feature Freeze Exception.
  
  PPA with packages for testing at
  https://launchpad.net/~ahasenack/+archive/ubuntu/bind9-geoip/
- 
  
  [Original description]
  
  Ubuntu 20.04
  bind9 1:9.16.0-1ubuntu3
  
  # 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 Tue 2020-03-10 18:22:42 CET; 
2min 21s ago
     Docs: man:named(8)
     Main PID: 46665 (code=exited, status=1/FAILURE)
  
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: adjusted limit on open files 
from 524288 to 1048576
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: found 8 CPUs, using 8 worker 
threads
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: using 8 UDP listeners per 
interface
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: using up to 21000 sockets
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: loading configuration from 
'/etc/bind/named.conf'
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: 
/etc/bind/named.conf.options:48: option 'geoip-directory' was not enabled at 
compile time
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: loading configuration: failure
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: exiting (due to fatal error)
  Mar 10 18:22:42 samsung6-ubuntu systemd[1]: named.service: Main process 
exited, code=exited, status=1/FAILURE
  Mar 10 18:22:42 samsung6-ubuntu 

[Bug 1866875] Re: option 'geoip-directory' was not enabled at compile time

2020-03-16 Thread Andreas Hasenack
I need to transform this bug into a feature freeze exception request,
therefore I will temporarily unassign myself from it and set it back to
"new" so it's seen by the ubuntu release team.

** Changed in: bind9 (Ubuntu)
   Status: In Progress => New

** Changed in: bind9 (Ubuntu)
 Assignee: Andreas Hasenack (ahasenack) => (unassigned)

** Description changed:

+ Bind 9.11.x, as shipped in eoan, had support for geoip1 (legacy code)
+ via the src:geoip package.
+ 
+ bind9 9.16.x, the new upstream stable release and what we are shipping
+ in focal, dropped support for this legacy library and requires instead
+ libmaxminddb.
+ 
+ There is an ongoing MIR at
+ https://bugs.launchpad.net/ubuntu/+source/libmaxminddb/+bug/1861101
+ which is essentially approved, as most of it's conditions at
+ https://bugs.launchpad.net/ubuntu/+source/libmaxminddb/+bug/1861101/comments/5
+ have been met, just pending FFe bugs now.
+ 
+ This bug is bringing back geoip support for bind9, but via a new
+ library, therefore I believe it needs a Feature Freeze Exception.
+ 
+ PPA with packages for testing at
+ https://launchpad.net/~ahasenack/+archive/ubuntu/bind9-geoip/
+ 
+ 
+ [Original description]
+ 
  Ubuntu 20.04
  bind9 1:9.16.0-1ubuntu3
  
  # 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 Tue 2020-03-10 18:22:42 CET; 
2min 21s ago
-Docs: man:named(8)
-Main PID: 46665 (code=exited, status=1/FAILURE)
+  Loaded: loaded (/lib/systemd/system/named.service; enabled; vendor 
preset: enabled)
+  Active: failed (Result: exit-code) since Tue 2020-03-10 18:22:42 CET; 
2min 21s ago
+    Docs: man:named(8)
+    Main PID: 46665 (code=exited, status=1/FAILURE)
  
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: adjusted limit on open files 
from 524288 to 1048576
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: found 8 CPUs, using 8 worker 
threads
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: using 8 UDP listeners per 
interface
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: using up to 21000 sockets
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: loading configuration from 
'/etc/bind/named.conf'
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: 
/etc/bind/named.conf.options:48: option 'geoip-directory' was not enabled at 
compile time
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: loading configuration: failure
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: exiting (due to fatal error)
  Mar 10 18:22:42 samsung6-ubuntu systemd[1]: named.service: Main process 
exited, code=exited, status=1/FAILURE
  Mar 10 18:22:42 samsung6-ubuntu systemd[1]: named.service: Failed with result 
'exit-code'.

** Description changed:

- Bind 9.11.x, as shipped in eoan, had support for geoip1 (legacy code)
+ Bind 9.11.x, as shipped in eoan, has support for geoip1 (legacy code)
  via the src:geoip package.
  
  bind9 9.16.x, the new upstream stable release and what we are shipping
  in focal, dropped support for this legacy library and requires instead
  libmaxminddb.
  
  There is an ongoing MIR at
  https://bugs.launchpad.net/ubuntu/+source/libmaxminddb/+bug/1861101
  which is essentially approved, as most of it's conditions at
  https://bugs.launchpad.net/ubuntu/+source/libmaxminddb/+bug/1861101/comments/5
  have been met, just pending FFe bugs now.
  
  This bug is bringing back geoip support for bind9, but via a new
  library, therefore I believe it needs a Feature Freeze Exception.
  
  PPA with packages for testing at
  https://launchpad.net/~ahasenack/+archive/ubuntu/bind9-geoip/
- 
  
  [Original description]
  
  Ubuntu 20.04
  bind9 1:9.16.0-1ubuntu3
  
  # 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 Tue 2020-03-10 18:22:42 CET; 
2min 21s ago
     Docs: man:named(8)
     Main PID: 46665 (code=exited, status=1/FAILURE)
  
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: adjusted limit on open files 
from 524288 to 1048576
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: found 8 CPUs, using 8 worker 
threads
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: using 8 UDP listeners per 
interface
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: using up to 21000 sockets
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: loading configuration from 
'/etc/bind/named.conf'
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: 
/etc/bind/named.conf.options:48: option 'geoip-directory' was not enabled at 
compile time
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: loading configuration: failure
  Mar 10 18:22:42 samsung6-ubuntu named[46665]: exiting (due to fatal error)
  Mar 10 18:22:42 samsung6-ubuntu systemd[1]: named.service: Main process 
exited, code=exited, status=1/FAILURE
  Mar 10 18:22:42 samsung6-ubuntu 

[Bug 1866875] Re: option 'geoip-directory' was not enabled at compile time

2020-03-11 Thread Andreas Hasenack
Thanks for the followup information, and sorry for the jargon I used
("MIR": Main Inclusion Request).

It means that in order to (re)enable this support in bind 9.16.x, we
need to move the libmaxminddb package from universe to main, since bind9
is a package in main. That process is ongoing in the other bug I linked
(https://bugs.launchpad.net/ubuntu/+source/libmaxminddb/+bug/1861101)
and once that is done, this bug you reported here will also be fixed.

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to bind9 in Ubuntu.
https://bugs.launchpad.net/bugs/1866875

Title:
  option 'geoip-directory' was not enabled at compile time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1866875/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1866875] Re: option 'geoip-directory' was not enabled at compile time

2020-03-11 Thread Andreas Hasenack
Thanks for the followup information, and sorry for the jargon I used
("MIR": Main Inclusion Request).

It means that in order to (re)enable this support in bind 9.16.x, we
need to move the libmaxminddb package from universe to main, since bind9
is a package in main. That process is ongoing in the other bug I linked
(https://bugs.launchpad.net/ubuntu/+source/libmaxminddb/+bug/1861101)
and once that is done, this bug you reported here will also be fixed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1866875

Title:
  option 'geoip-directory' was not enabled at compile time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1866875/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1866875] Re: option 'geoip-directory' was not enabled at compile time

2020-03-11 Thread jean-christophe manciot
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'.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1866875

Title:
  option 'geoip-directory' was not enabled at compile time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1866875/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1866875] Re: option 'geoip-directory' was not enabled at compile time

2020-03-10 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~ahasenack/ubuntu/+source/bind9/+git/bind9/+merge/380519

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1866875

Title:
  option 'geoip-directory' was not enabled at compile time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1866875/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1866875] Re: option 'geoip-directory' was not enabled at compile time

2020-03-10 Thread Andreas Hasenack
Bind9 9.16.x only supports the geoip2 library (libmaxminddb), which
requires a MIR:
https://bugs.launchpad.net/ubuntu/+source/libmaxminddb/+bug/1861101

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to bind9 in Ubuntu.
https://bugs.launchpad.net/bugs/1866875

Title:
  option 'geoip-directory' was not enabled at compile time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1866875/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1866875] Re: option 'geoip-directory' was not enabled at compile time

2020-03-10 Thread Andreas Hasenack
Bind9 9.16.x only supports the geoip2 library (libmaxminddb), which
requires a MIR:
https://bugs.launchpad.net/ubuntu/+source/libmaxminddb/+bug/1861101

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1866875

Title:
  option 'geoip-directory' was not enabled at compile time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1866875/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1866875] Re: option 'geoip-directory' was not enabled at compile time

2020-03-10 Thread Andreas Hasenack
No need, reproduced and understood.

** Changed in: bind9 (Ubuntu)
   Status: New => In Progress

** Changed in: bind9 (Ubuntu)
 Assignee: (unassigned) => Andreas Hasenack (ahasenack)

** Changed in: bind9 (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to bind9 in Ubuntu.
https://bugs.launchpad.net/bugs/1866875

Title:
  option 'geoip-directory' was not enabled at compile time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1866875/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1866875] Re: option 'geoip-directory' was not enabled at compile time

2020-03-10 Thread Andreas Hasenack
No need, reproduced and understood.

** Changed in: bind9 (Ubuntu)
   Status: New => In Progress

** Changed in: bind9 (Ubuntu)
 Assignee: (unassigned) => Andreas Hasenack (ahasenack)

** Changed in: bind9 (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1866875

Title:
  option 'geoip-directory' was not enabled at compile time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1866875/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1866875] Re: option 'geoip-directory' was not enabled at compile time

2020-03-10 Thread Andreas Hasenack
Can you please share your config file where geoip-directory is used? Was
this working with previous bind9 9.11.x?

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to bind9 in Ubuntu.
https://bugs.launchpad.net/bugs/1866875

Title:
  option 'geoip-directory' was not enabled at compile time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1866875/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1866875] Re: option 'geoip-directory' was not enabled at compile time

2020-03-10 Thread Andreas Hasenack
Can you please share your config file where geoip-directory is used? Was
this working with previous bind9 9.11.x?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1866875

Title:
  option 'geoip-directory' was not enabled at compile time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1866875/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs