Public bug reported:

Release: Xenial/16.04

While trying to quiet down IPv6 related messaged from named (not quite
there, yet), I added the relevant options to the defaults file
(/etc/default/bind9 -> OPTIONS="-u bind"). Unfortunately this file is
totally ignored by the systemd service unit. After changing it like
below, I got the desired behaviour:

/lib/systemd/system/bind9.service:
...
 [Service]
+EnvironmentFile=/etc/default/bind9
-ExecStart=/usr/sbin/named -f -u bind
+ExecStart=/usr/sbin/named -f $OPTIONS
 ExecReload=/usr/sbin/rndc reload 
 ExecStop=/usr/sbin/rndc stop

** Affects: bind9 (Ubuntu)
     Importance: Low
         Status: Triaged


** Tags: xenial

** Summary changed:

- The systemd unit for dhcp server should use the default config
+ The systemd unit for DNS server should use the default config

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

Title:
  The systemd unit for DNS server should use the default config

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

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

Reply via email to