group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #35176
[Bug 1565060] Re: defaults file is ignored
** Changed in: bind9 (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1565060
Title:
defaults file is ignored
Status in bind9 package in Ubuntu:
Fix Released
Status in bind9 source package in Xenial:
Fix Released
Status in bind9 source package in Yakkety:
Won't Fix
Status in bind9 source package in Zesty:
Fix Released
Status in bind9 package in Debian:
Fix Released
Bug description:
[Impact]
Server start up options set in /etc/default/bind9 via the OPTIONS
variable are ignored.
The fix is to have the systemd service file source that file and use
the given OPTIONS value. This is already being done in Ubuntu Artful
and higher. The fix here is the same.
[Test Case]
# install bind9
$ sudo apt install bind9
# start it up
$ sudo service bind9 start
# inspect the command line of the process:
$ ps fxaw|grep named|grep -v grep
396 ? Ssl 0:00 /usr/sbin/named -f -u bind
# edit /etc/default/bind9 and include "-4" to the OPTIONS value so it looks like this:
# startup options for the server
OPTIONS="-4 -u bind"
# restart bind9
sudo service bind9 restart
# inspect the process command line again. Only the fixed version of the package will include the newly added "-4" parameter:
$ ps fxaw|grep named|grep -v grep
17891 ? Ssl 0:00 /usr/sbin/named -f -4 -u bind
[Regression Potential]
Administrators who have for some reason altered the defaults file with an incorrect value for OPTIONS might be surprised after this update, since now that file is actually parsed and if it's indeed incorrect, the service may fail to start.
[Other Info]
None at this time.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1565060/+subscriptions