File pid-path.diff of Package bind

Index: bin/named/include/named/globals.h
===================================================================
--- bin/named/include/named/globals.h.orig	2013-07-17 00:13:06.000000000 +0200
+++ bin/named/include/named/globals.h	2013-08-05 14:14:28.152275375 +0200
@@ -140,9 +140,9 @@
 							     "lwresd.pid");
 #else
 EXTERN const char *		ns_g_defaultpidfile 	INIT(NS_LOCALSTATEDIR
-							     "/run/named.pid");
+							     "/run/named/named.pid");
 EXTERN const char *		lwresd_g_defaultpidfile INIT(NS_LOCALSTATEDIR
-							     "/run/lwresd.pid");
+							     "/run/named/lwresd.pid");
 #endif
 
 EXTERN const char *		ns_g_username		INIT(NULL);
Index: contrib/nanny/nanny.pl
===================================================================
--- contrib/nanny/nanny.pl.orig	2013-07-17 00:13:06.000000000 +0200
+++ contrib/nanny/nanny.pl	2013-08-05 14:14:28.153275387 +0200
@@ -19,7 +19,7 @@
 
 # A simple nanny to make sure named stays running.
 
-$pid_file_location = '/var/run/named.pid';
+$pid_file_location = '/var/run/named/named.pid';
 $nameserver_location = 'localhost';
 $dig_program = 'dig';
 $named_program =  'named';
openSUSE Build Service is sponsored by