]> code.ossystems Code Review - openembedded-core.git/commit
bind: remove -r option from rndc-confgen in initscript
authorYi Zhao <yi.zhao@windriver.com>
Sat, 30 Oct 2021 15:15:05 +0000 (23:15 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 1 Nov 2021 10:41:15 +0000 (10:41 +0000)
commita5c5977bef44b7b014af590515ea1f93d7d51f46
tree7fefc12647f09b6b41fcf23dd2201570cd7b3eb4
parent4ec096a9ce8a49b631efc50e7d95ff653d4c4374
bind: remove -r option from rndc-confgen in initscript

The -r option has been removed from rndc-confgen since bind 9.13[1].

Fix the bind startup error:
$ /etc/init.d/bind start
Starting domain name service: namedrndc-confgen: The -r option has been deprecated.
chmod: cannot access '/etc/bind/rndc.key': No such file or directory

[1]: https://gitlab.isc.org/isc-projects/bind9/-/commit/3a4f820d625c214cfb21f5e6d18ce9160d2a193b

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/bind/bind-9.16.21/0001-avoid-start-failure-with-bind-user.patch
meta/recipes-connectivity/bind/bind-9.16.21/conf.patch