[dnssec-tools] Added a new patch for making the fallback resolv.conf possible

Wes Hardaker hardaker at fedoraproject.org
Fri May 6 19:55:09 UTC 2011


commit 6dec19c4e368791d4a0394eb74ff2c46b3f1e7a7
Author: Wes Hardaker <opensource at hardakers.net>
Date:   Fri May 6 12:46:05 2011 -0700

    Added a new patch for making the fallback resolv.conf possible

 dnssec-tools-1.9-resolv.conf-fallback.patch |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/dnssec-tools-1.9-resolv.conf-fallback.patch b/dnssec-tools-1.9-resolv.conf-fallback.patch
new file mode 100644
index 0000000..60f782f
--- /dev/null
+++ b/dnssec-tools-1.9-resolv.conf-fallback.patch
@@ -0,0 +1,14 @@
+diff --git a/dnssec-tools/validator/libval/val_policy.c b/dnssec-tools/validator/libval/val_policy.c
+index 6eca50f..a4c60c2 100644
+--- a/dnssec-tools/validator/libval/val_policy.c
++++ b/dnssec-tools/validator/libval/val_policy.c
+@@ -1950,8 +1950,8 @@ read_res_config_file(val_context_t * ctx)
+         if (fd == -1) {
+             val_log(ctx, LOG_ERR, "read_res_config_file(): Could not open default resolver conf file for reading: %s",
+                     resolv_conf);
++            return VAL_CONF_NOT_FOUND;
+         }
+-        return VAL_CONF_NOT_FOUND;
+     }
+     fl.l_type = F_RDLCK;
+     fcntl(fd, F_SETLKW, &fl);


More information about the scm-commits mailing list