diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-08-08 08:42:08 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-10 08:25:28 +0100 |
| commit | 7e8177dfa173ec82b5279d9adc61ffece75d8735 (patch) | |
| tree | aa6001ce4ccd9d6ac53e1c6482156b8eab12bbdb /meta/recipes-connectivity/bind/bind-9.18.5/0001-avoid-start-failure-with-bind-user.patch | |
| parent | f862d6873a66e98eb5296b697e206990a245295c (diff) | |
| download | poky-7e8177dfa173ec82b5279d9adc61ffece75d8735.tar.gz | |
bind: upgrade 9.18.4 -> 9.18.5
(From OE-Core rev: 0a419b730ca87daa4e07daf022a550fb4112b9b0)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/bind/bind-9.18.5/0001-avoid-start-failure-with-bind-user.patch')
| -rw-r--r-- | meta/recipes-connectivity/bind/bind-9.18.5/0001-avoid-start-failure-with-bind-user.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bind/bind-9.18.5/0001-avoid-start-failure-with-bind-user.patch b/meta/recipes-connectivity/bind/bind-9.18.5/0001-avoid-start-failure-with-bind-user.patch new file mode 100644 index 0000000000..ec1bc7b567 --- /dev/null +++ b/meta/recipes-connectivity/bind/bind-9.18.5/0001-avoid-start-failure-with-bind-user.patch | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | From 31dde3562f287429eea94b77250d184818b49063 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
| 3 | Date: Mon, 15 Oct 2018 16:55:09 +0800 | ||
| 4 | Subject: [PATCH] avoid start failure with bind user | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | |||
| 8 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
| 9 | --- | ||
| 10 | init.d | 1 + | ||
| 11 | 1 file changed, 1 insertion(+) | ||
| 12 | |||
| 13 | diff --git a/init.d b/init.d | ||
| 14 | index b2eec60..6e03936 100644 | ||
| 15 | --- a/init.d | ||
| 16 | +++ b/init.d | ||
| 17 | @@ -57,6 +57,7 @@ case "$1" in | ||
| 18 | modprobe capability >/dev/null 2>&1 || true | ||
| 19 | if [ ! -f /etc/bind/rndc.key ]; then | ||
| 20 | /usr/sbin/rndc-confgen -a -b 512 | ||
| 21 | + chown root:bind /etc/bind/rndc.key >/dev/null 2>&1 || true | ||
| 22 | chmod 0640 /etc/bind/rndc.key | ||
| 23 | fi | ||
| 24 | if [ -f /var/run/named/named.pid ]; then | ||
| 25 | -- | ||
| 26 | 2.7.4 | ||
| 27 | |||
