This bug affects among others anyone with intermittent or permanent ipv6
routing problems. Most documented workarounds for ipv6-problems in dual-
stack configurations hint at disabling ipv6 in /etc/default/bind9, but
that won't work when the file is ignored when systemd is in control of
the processes. My suggestion is thus to edit the service-file for bind9
to include the defaults-file, and thus maintain backward compatibility
with most of the published documentation. The following service-section
in /lib/systemd/system/bind9.service seems to do the job:

[Service]
EnvironmentFile=-/etc/default/bind9
ExecStart=/usr/sbin/named -f $OPTIONS
ExecReload=/usr/sbin/rndc reload
ExecStop=/usr/sbin/rndc stop

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

Title:
  defaults file is ignored

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

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

Reply via email to