diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2013-05-16 02:36:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-21 00:15:12 +0100 |
commit | a32c05f691ef5620516b2f84452fb5129e16bb14 (patch) | |
tree | 3f4b16ea8134d71d1bbf83958d48c76419c9ebcb /meta/recipes-connectivity/bind | |
parent | 047826f034f00c2402c0a078b5c918019fcf36a4 (diff) | |
download | openembedded-core-a32c05f691ef5620516b2f84452fb5129e16bb14.tar.gz openembedded-core-a32c05f691ef5620516b2f84452fb5129e16bb14.tar.bz2 openembedded-core-a32c05f691ef5620516b2f84452fb5129e16bb14.zip |
bind: use /var/run/named instead of /var/run/bind/run
Change /var/run/bind/run to /var/run/named to avoid the following error message.
chmod: cannot access '/var/run/bind/run': No such file or directory
[YOCTO #4429]
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/bind')
-rw-r--r-- | meta/recipes-connectivity/bind/bind-9.8.1/conf.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/bind/bind-9.8.1/conf.patch b/meta/recipes-connectivity/bind/bind-9.8.1/conf.patch index 6fea70ed15..2785c6a22f 100644 --- a/meta/recipes-connectivity/bind/bind-9.8.1/conf.patch +++ b/meta/recipes-connectivity/bind/bind-9.8.1/conf.patch @@ -270,8 +270,8 @@ diff -urN bind-9.3.1.orig/init.d bind-9.3.1/init.d + # dirs under /var/run can go away on reboots. + mkdir -p /var/run/named + mkdir -p /var/cache/bind -+ chmod 775 /var/run/bind/run -+ chown root:bind /var/run/bind/run >/dev/null 2>&1 || true ++ chmod 775 /var/run/named ++ chown root:bind /var/run/named >/dev/null 2>&1 || true + + if [ ! -x /usr/sbin/named ]; then + echo "named binary missing - not starting" |