a3097226b3
- Ensure to create the required dir or sym link in /var/run; (bnc#738156). - Cache lookup could return RRSIG data associated with nonexistent records, leading to an assertion failure. CVE-2011-4313; (bnc#730995). OBS-URL: https://build.opensuse.org/request/show/98618 OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=80
30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
Index: bin/named/include/named/globals.h
|
|
===================================================================
|
|
--- bin/named/include/named/globals.h.orig
|
|
+++ bin/named/include/named/globals.h
|
|
@@ -134,9 +134,9 @@ EXTERN const char * lwresd_g_defaultpid
|
|
"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
|
|
+++ contrib/nanny/nanny.pl
|
|
@@ -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';
|