Skip to contentSkip to conversation

bind: udev /var/run/named instead of /var/run/bind/run

PATCH New [email protected] 1 participant 2 messages May 16, 2013

lore
Share & tools
lore
#0 lore raw

cover bind: udev /var/run/named instead of /var/run/bind/run

From: Chen Qi <[email protected]>

The following changes since commit a9f5bf0ed398bf9cb861feaa8b6fefd8645b1d09:

sanity.bbclass: Attach the missing value to a format string. (2013-05-13 21:54:40 +0300)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib ChenQi/bind
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/bind

Chen Qi (1):
bind: use /var/run/named instead of /var/run/bind/run

 .../bind/bind-9.8.1/conf.patch                     |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 bind: use /var/run/named instead of /var/run/bind/run

From: Chen Qi <[email protected]>

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]

---
 .../bind/bind-9.8.1/conf.patch                     |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-connectivity/bind/bind-9.8.1/conf.patch +2 -2
index 6fea70e..2785c6a 100644
@@ -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"
Signature · 1 line
1.7.9.5